Skip to content

Commit

Permalink
Mark SocketNode as closed if ObjectInputStream can't be created
Browse files Browse the repository at this point in the history
This prevents a NullPointerException from being thrown, and allows the
socketNodeClosing method to be called for the SocketNode.
  • Loading branch information
richardfearn committed Oct 20, 2013
1 parent c9291b7 commit ef839a0
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -72,6 +72,7 @@ public void run() {
.getInputStream()));
} catch (Exception e) {
logger.error("Could not open ObjectInputStream to " + socket, e);
closed = true;
}

ILoggingEvent event;
Expand Down

0 comments on commit ef839a0

Please sign in to comment.