If an exception is thrown when reading from the node, log it.
authorDavid Roden <d.roden@xplosion.de>
Tue, 14 Oct 2014 12:18:54 +0000 (14:18 +0200)
committerDavid Roden <d.roden@xplosion.de>
Tue, 14 Oct 2014 12:18:54 +0000 (14:18 +0200)
src/main/java/de/todesbaum/util/freenet/fcp2/Connection.java

index ea40d1f..fca1242 100644 (file)
@@ -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 {