mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-30 16:24:09 +03:00
IDE: better error handling for upload/burn bootloader
RunnerException was displayed with an ugly stacktrace, while the message contained in the exception itself is already quite enough detailed and clear.
This commit is contained in:
@ -2573,7 +2573,8 @@ public class Editor extends JFrame implements RunnerListener {
|
||||
statusError(I18n.format(
|
||||
_("Error while burning bootloader: missing '{0}' configuration parameter"),
|
||||
e.getMessage()));
|
||||
//statusError(e);
|
||||
} catch (RunnerException e) {
|
||||
statusError(e.getMessage());
|
||||
} catch (Exception e) {
|
||||
statusError(_("Error while burning bootloader."));
|
||||
e.printStackTrace();
|
||||
|
Reference in New Issue
Block a user