mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-16 07:14:52 +00:00
Don't print InterruptedExceptions in AbstractFileWatcher (#2044)
This commit is contained in:
1 file changed
+1
-4
+1
-4
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user