Skip to content

Commit

Permalink
[JENKINS-38344] EOFException does not need to be caught
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenc committed Sep 21, 2016
1 parent c3d6469 commit 4aa76cf
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -250,7 +250,7 @@ public void run() {
onRecvClosed();
return;
} catch (IOException e) {
if (LOGGER.isLoggable(Level.FINER)) {
if (LOGGER.isLoggable(Level.FINER) && !(e instanceof EOFException)) {
// will likely be reported elsewhere, so we just trace this at FINER
LogRecord record = new LogRecord(Level.FINER, "[{0}] Unexpected I/O exception");
record.setThrown(e);
Expand Down

0 comments on commit 4aa76cf

Please sign in to comment.