-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[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 our terms of service and privacy 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
Conversation
Hey! Thanks for your PR. You are targeting branch "6.4" but it seems your PR description refers to branch "6.3". Cheers! Carsonbot |
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. |
Couldn't we apply it? It is suggesting:
Are you worried about how the the |
Anyway, the command will be better with quotes arounds the package name. Depending on the package name, it might require quoting to make the command valid. |
Added quotes around the package name :) |
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.
@weaverryan will be done :) |
2c9834a
to
06fb6fe
Compare
Thank you @jmsche. |
Follow up PR welcome |
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/A This 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
When a file downloaded using the
importmap:require [packageName] --download
command is missing, the error message is this one:This PR slightly improves the error message to explain how it can be fixed: