Skip to content
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

Log all exceptions in upload.py #8813

Merged
merged 1 commit into from Jan 18, 2023
Merged

Log all exceptions in upload.py #8813

merged 1 commit into from Jan 18, 2023

Conversation

eschwartz
Copy link
Contributor

Currently some exceptions cause the script to exit with code 2, but without any relevant error message.

As an example, I had an issue with my USB drivers. But the only message I saw using the Arduino IDE was: uploading error: exit status 2. With this code change I could see a more specific Resource busy error message, which helped me identify the actual problem.

Currently some exceptions cause a exit code 2, but without any relevant error message.
@mcspr mcspr changed the title Log all exceptions Log all exceptions in upload.py Jan 18, 2023
@mcspr mcspr merged commit 39b4137 into esp8266:master Jan 18, 2023
@mcspr mcspr added this to the 3.1.2 milestone Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants