mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2024-11-22 20:28:00 +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);
|
ExecutorService builtinService = (ExecutorService) field.get(this);
|
||||||
field.set(this, service);
|
field.set(this, service);
|
||||||
builtinService.shutdownNow();
|
builtinService.shutdownNow();
|
||||||
} catch (Exception e) {
|
} catch (IllegalAccessException | NoSuchFieldException e) {
|
||||||
getLogger().log(Level.WARNING, "Can't replace BungeeCord thread pool with our own", e);
|
getLogger().log(Level.WARNING, "Can't replace BungeeCord thread pool with our own");
|
||||||
|
getLogger().log(Level.INFO, "skipping replacement.....");
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
loadConfig();
|
loadConfig();
|
||||||
|
Loading…
Reference in New Issue
Block a user