Skip to content

Commit

Permalink
Fixed exception when stopping storage
Browse files Browse the repository at this point in the history
- Updated ImageStorage class
  • Loading branch information
josemmo committed Jan 5, 2024
1 parent 7cd2664 commit ffbacd2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ public void run() {
}
key.reset();
}
} catch (InterruptedException __) {
} catch (ClosedWatchServiceException | InterruptedException __) {
// Silently ignore exception, this is expected when service shuts down
} catch (NullPointerException e) {
LOGGER.severe("Watch service was stopped before watcher thread", e);
Expand Down

0 comments on commit ffbacd2

Please sign in to comment.