Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork435
Improve error message on build failure#536
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
Uh oh!
There was an error while loading.Please reload this page.
Conversation
federicobond commentedJan 2, 2020
Change LGTM. The errors with missing messages can be found here: arduino-cli/legacy/builder/phases/sizer.go Lines 106 to 114 in7e547b0
If you want, I can submit a pull request adding proper messages along the lines of "text/data section exceeds available space in board" . |
masci commentedJan 2, 2020
@federicobond thanks a ton for pointing me to the error, it was faster for me to just fix it in this PR but I've used your suggestion regarding the message. I've also removed the workaround |
* Improve error message on build failure* properly report an error message
Fixes#527
At some point, deep into the
legacypackage, some function returns an error with an empty message, causing the command to fail in suspense with"Error during build: build failed:.This is a workaround, the real fix would be going on a quest in search of the command(s) returning the empty error.