Skip to content

Commit

Permalink
Catch exception in selector
Browse files Browse the repository at this point in the history
  • Loading branch information
seime committed Jul 7, 2024
1 parent 3d4ac10 commit 178b362
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ private void processKey(SelectionKey readyKey) {
} catch (IOException | CancelledKeyException e) {
logger.debug("Socket exception", e);
frameHelper.endOfStream();
} catch (Exception e) {
logger.warn("Error processing key", e);
}
}

Expand Down

0 comments on commit 178b362

Please sign in to comment.