Upload indicated as successful even when it failed #2516
Labels
conclusion: resolved
Issue was resolved
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Describe the problem
At the end of an upload operation, Arduino IDE displays a notification to communicate the result to the user.
If the operation was successful, the "Done uploading." notification should be shown:
If the operation failed, the "Upload error: ..." notification should be shown:
🐛 "Done uploading" notification is shown even when the upload failed. The result of the upload will not be clearly communicated to the user, and even if they do notice that the upload failed, they won't have access to the convenient "COPY ERROR MESSAGES" button that is the standard way for support technicians to obtain the upload logs.
To reproduce
ⓘ This board was selected arbitrarily for the demo because it does not use a serial port for uploads, and thus avoids an equipment prerequisite for the demo. However, the bug affects all boards; not only the UNO R4 Minima.
🐛 The upload failed, as expected, but the notification for a successful upload was shown.
Expected behavior
The failure notification is shown when an upload fails:
Arduino IDE version
2.3.3
Operating system
Windows
Operating system version
Windows 11
Additional context
I bisected the regression to #2500 / a5bf56f (the fault does not occur when using the build from the previous commit 1ec0a8c).
Issue checklist
The text was updated successfully, but these errors were encountered: