From: David Roden Date: Tue, 14 Oct 2014 12:18:54 +0000 (+0200) Subject: If an exception is thrown when reading from the node, log it. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=8713609d7ea3e89e68a74745f10389519ae3e700;hp=790f4e1ba05bcc2570f4d3f1a66bf7e5f213accb;p=jSite.git If an exception is thrown when reading from the node, log it. --- diff --git a/src/main/java/de/todesbaum/util/freenet/fcp2/Connection.java b/src/main/java/de/todesbaum/util/freenet/fcp2/Connection.java index ea40d1f..fca1242 100644 --- a/src/main/java/de/todesbaum/util/freenet/fcp2/Connection.java +++ b/src/main/java/de/todesbaum/util/freenet/fcp2/Connection.java @@ -374,7 +374,7 @@ public class Connection { throw new IOException("Unexpected line: " + line); } } catch (IOException ioe1) { - // ioe1.printStackTrace(); + logger.log(FINE, "Exception while reading from node.", ioe1); } finally { if (nodeReader != null) { try {