-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
download-plugins: display errors at the end of the script #7881
Conversation
This commit updates the `download-plugins` script to display error messages (failures) at the end of the script. Signed-off-by: vince-fugnitto <vincent.fugnitto@ericsson.com>
For some reasons, I introduce 3 errors in package.json, the second error did not show at the end , it showed in sequence of the download plugins, This error was a 404: (Change a file to a wrong file version)
The errors at the end were ":FetchError: request to https:...." |
@lmcbout do you have steps to reproduce? |
Steps to reproduce:
2- remove the plugins folder (rm -rf plugins) |
@lmcbout it works for me, are you sure you checked out the branch and rebuilt |
Let me rebuild a clean version and I will let you know |
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 a clean rebuild, it works fine, the errors are all grouped at the end.
Thanks @vince-fugnitto
What it does
Fixes #7878
The following commit updates the
download:plugins
script to display errors (download failures) at the end of the script so application developers can easily see the failed downloads together.How to test
package.json
to include bogus download linksyarn download:plugins
Example
Review checklist
Reminder for reviewers
Signed-off-by: vince-fugnitto vincent.fugnitto@ericsson.com