mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-20 14:54:31 +01:00
Fixed *Manager error message glitch
This commit is contained in:
parent
a7024791cd
commit
9b3ee714c7
@ -47,7 +47,7 @@ public class InstallerJDialogUncaughtExceptionHandler implements Thread.Uncaught
|
||||
|
||||
@Override
|
||||
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")) {
|
||||
errorMessage = connectionErrorMessage;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user