mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
Fixed *Manager error message glitch
This commit is contained in:
@ -47,7 +47,7 @@ public class InstallerJDialogUncaughtExceptionHandler implements Thread.Uncaught
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void uncaughtException(Thread t, final Throwable e) {
|
public void uncaughtException(Thread t, final Throwable e) {
|
||||||
String errorMessage = _(e.getMessage().substring(e.getMessage().indexOf(":") + 2));
|
String errorMessage = _(e.getMessage().substring(e.getMessage().indexOf(":") + 1));
|
||||||
if (errorMessage.startsWith("Error downloading")) {
|
if (errorMessage.startsWith("Error downloading")) {
|
||||||
errorMessage = connectionErrorMessage;
|
errorMessage = connectionErrorMessage;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user