Makeblock-official / mBlock

base on scratch offline v2.0 by MIT, Learn more from Makeblock official website
http://www.makeblock.com
GNU General Public License v2.0
319 stars 228 forks source link

Errors in AVR dude are still showing the "Upload Finish" dialog #78

Open cookiengineer opened 6 years ago

cookiengineer commented 6 years ago

Once an error occurs with avrdude or the flashing progress, the Upload Finish dialog still shows up, assuming everything went fine.

The error codes of the processes are not compared anywhere, which means that exit code != 0 should be handled properly in the flashing / upload process.