Skip to content

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
hasenradball pushed a commit to hasenradball/Arduino that referenced this pull request Nov 18, 2024
Currently some exceptions cause a exit 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.
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.

2 participants