Skip to content

Commit

Permalink
Include full exception when WatchQueueReader thread dies
Browse files Browse the repository at this point in the history
See #2537

Signed-off-by: Cody Cutrer <cody@cutrer.us>
  • Loading branch information
ccutrer committed Oct 25, 2021
1 parent 569dddd commit 54f09ff
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,7 @@ public void run() {
key.reset();
}
} catch (Exception exc) {
logger.debug("ClosedWatchServiceException caught! {}. \n{} Stopping ", exc.getLocalizedMessage(),
Thread.currentThread().getName());
logger.error("Exception caught in WatchQueueReader: ", exc);
return;
}
}
Expand Down

0 comments on commit 54f09ff

Please sign in to comment.