Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[AssetMapper] Improve the error message when a downloaded file is missing#51337
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
[AssetMapper] Improve the error message when a downloaded file is missing#51337
Uh oh!
There was an error while loading.Please reload this page.
Conversation
carsonbot commentedAug 10, 2023
Hey! Thanks for your PR. You are targeting branch "6.4" but it seems your PR description refers to branch "6.3". Cheers! Carsonbot |
jmsche commentedAug 10, 2023
Hmm the error spotted by fabbot can't be applied as is. Should I put backticks around the command instead? AppVeyor, Integration (8.1) & Unit Tests (8.1) failures are unrelated to this PR. |
weaverryan commentedAug 10, 2023
Couldn't we apply it? It is suggesting:
Are you worried about how the the |
stof commentedAug 10, 2023
Anyway, the command will bebetter with quotes arounds the package name. Depending on the package name, it might require quoting to make the command valid. |
jmsche commentedAug 11, 2023
Added quotes around the package name :) |
weaverryan left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
After merge, the message should be updated in#51351 for the new command there.
jmsche commentedAug 16, 2023
@weaverryan will be done :) |
2c9834a to06fb6feComparenicolas-grekas commentedAug 23, 2023
Thank you@jmsche. |
nicolas-grekas commentedAug 23, 2023
Follow up PR welcome |
jmsche commentedAug 23, 2023
Sure, I'll update the error message with a PR for the 6.4 branch tomorrow :) |
… not found (jmsche)This PR was merged into the 6.4 branch.Discussion----------[AssetMapper] Improve message when a downloaded asset is not found| Q | A| ------------- | ---| Branch? | 6.4| Bug fix? | no| New feature? | no| Deprecations? | no| Tickets | N/A| License | MIT| Doc PR | N/AThis PR improves the exception message introduced in#51337 by mentioning the command introduced in#51351.Commits-------69cae6f [AssetMapper] Improve exception message when a downloaded asset is not found
Uh oh!
There was an error while loading.Please reload this page.
When a file downloaded using the
importmap:require [packageName] --downloadcommand is missing, the error message is this one:This PR slightly improves the error message to explain how it can be fixed: