Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: add error to packager set paths #2753

Closed
wants to merge 1 commit into from
Closed

Conversation

phillebaba
Copy link
Member

Description

This change removes the debug log and replaces it with an error when a package path is of unknown format.

Related Issue

Relates to #2576

Checklist before merging

@phillebaba phillebaba requested review from a team as code owners July 23, 2024 12:18
@phillebaba
Copy link
Member Author

@AustinAbro321 I did this PR to see what you think first. Personally I do not like to silently error. If we are going to do so we should probably make this more apparent and explain why we fail silently.

@phillebaba phillebaba force-pushed the refactor/set-paths branch from 85eafeb to 4a69fbd Compare July 23, 2024 12:23
@phillebaba
Copy link
Member Author

phillebaba commented Jul 23, 2024

I was wrong about this change. The default case is ignored when for example when the path is a manifest. I still feel like we should test for that and do nothing to catch any future problem however.

@phillebaba phillebaba marked this pull request as draft July 24, 2024 10:12
@phillebaba phillebaba closed this Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant