-
Notifications
You must be signed in to change notification settings - Fork 3k
src: Handle errors from andRecalculateMetadata
#11433
Conversation
Hi, just to be clear as nothing was said previously, but this needs a test. |
sounds good. @dignifiedquire can you hook it up? |
Yes will take a look. @iarna For the future please leave a comment as gh does not send notifications for label changes and I had no idea this was reviewed :/ |
In `outdated.js` the errors from `andRecalculateMetadata` were swallowed resulting in the cryptic errors seen in npm#9720. This fixes this and handles the error so that the npm logs the actual error.
de91b5e
to
36fa4f1
Compare
@iarna could you point me in a direction on how to test this best? I'm not sure how to make |
@dignifiedquire Sure… So In a test that might look like this:
|
Thanks @iarna will try and get the test done tomorrow |
We're closing this pull request as it has gone sixty days without activity. In our experience pull requests that go this long are unlikely to land. If you have updates to it, please feel free to open a new pull request. For more information about our new issue aging policies and why we've instituted them please see our blog post. |
In
outdated.js
the errors fromandRecalculateMetadata
were swallowed resulting in the cryptic errors seen in #9720.
This fixes this and handles the error so that the npm logs
the actual error.