Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Log all exceptions in upload.py (#8813)
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.
- Loading branch information