mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-11 19:50:30 +00:00
Catch second exception
This commit is contained in:
parent
634628383a
commit
e5aab88cb6
1 changed files with 10 additions and 2 deletions
|
@ -104,7 +104,11 @@ public class LibsDisguises extends JavaPlugin {
|
|||
commandConfig.load();
|
||||
}
|
||||
} catch (Throwable throwable) {
|
||||
getUpdateChecker().doUpdate();
|
||||
try {
|
||||
getUpdateChecker().doUpdate();
|
||||
} catch (Throwable t) {
|
||||
getLogger().severe("Failed to even do a forced update");
|
||||
}
|
||||
|
||||
throw throwable;
|
||||
}
|
||||
|
@ -251,7 +255,11 @@ public class LibsDisguises extends JavaPlugin {
|
|||
|
||||
new MetricsInitalizer();
|
||||
} catch (Throwable throwable) {
|
||||
getUpdateChecker().doUpdate();
|
||||
try {
|
||||
getUpdateChecker().doUpdate();
|
||||
} catch (Throwable t) {
|
||||
getLogger().severe("Failed to even do a forced update");
|
||||
}
|
||||
|
||||
throw throwable;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue