mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2024-12-23 10:38:01 +00:00
don't display exception when can't replace the executor service
This commit is contained in:
parent
785b23ecfb
commit
9b4a49f66a
@ -239,8 +239,9 @@ public final class RedisBungee extends Plugin {
|
||||
ExecutorService builtinService = (ExecutorService) field.get(this);
|
||||
field.set(this, service);
|
||||
builtinService.shutdownNow();
|
||||
} catch (Exception e) {
|
||||
getLogger().log(Level.WARNING, "Can't replace BungeeCord thread pool with our own", e);
|
||||
} catch (IllegalAccessException | NoSuchFieldException e) {
|
||||
getLogger().log(Level.WARNING, "Can't replace BungeeCord thread pool with our own");
|
||||
getLogger().log(Level.INFO, "skipping replacement.....");
|
||||
}
|
||||
try {
|
||||
loadConfig();
|
||||
|
Loading…
Reference in New Issue
Block a user