mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2025-01-29 11:41:45 +01:00
Don't print InterruptedExceptions in AbstractFileWatcher (#2044)
This commit is contained in:
parent
fbac03e372
commit
3086724e92
@ -126,10 +126,7 @@ public abstract class AbstractFileWatcher implements AutoCloseable {
|
||||
WatchKey key;
|
||||
try {
|
||||
key = this.service.take();
|
||||
} catch (InterruptedException e) {
|
||||
e.printStackTrace();
|
||||
break;
|
||||
} catch (ClosedWatchServiceException e) {
|
||||
} catch (InterruptedException | ClosedWatchServiceException e) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user