Catch second exception
This commit is contained in:
parent
634628383a
commit
e5aab88cb6
@ -104,7 +104,11 @@ public class LibsDisguises extends JavaPlugin {
|
|||||||
commandConfig.load();
|
commandConfig.load();
|
||||||
}
|
}
|
||||||
} catch (Throwable throwable) {
|
} catch (Throwable throwable) {
|
||||||
|
try {
|
||||||
getUpdateChecker().doUpdate();
|
getUpdateChecker().doUpdate();
|
||||||
|
} catch (Throwable t) {
|
||||||
|
getLogger().severe("Failed to even do a forced update");
|
||||||
|
}
|
||||||
|
|
||||||
throw throwable;
|
throw throwable;
|
||||||
}
|
}
|
||||||
@ -251,7 +255,11 @@ public class LibsDisguises extends JavaPlugin {
|
|||||||
|
|
||||||
new MetricsInitalizer();
|
new MetricsInitalizer();
|
||||||
} catch (Throwable throwable) {
|
} catch (Throwable throwable) {
|
||||||
|
try {
|
||||||
getUpdateChecker().doUpdate();
|
getUpdateChecker().doUpdate();
|
||||||
|
} catch (Throwable t) {
|
||||||
|
getLogger().severe("Failed to even do a forced update");
|
||||||
|
}
|
||||||
|
|
||||||
throw throwable;
|
throw throwable;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user