From 8713609d7ea3e89e68a74745f10389519ae3e700 Mon Sep 17 00:00:00 2001 From: David Roden Date: Tue, 14 Oct 2014 14:18:54 +0200 Subject: [PATCH] If an exception is thrown when reading from the node, log it. --- src/main/java/de/todesbaum/util/freenet/fcp2/Connection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.7.4