If an exception is thrown when reading from the node, log it.
[jSite.git] / 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 {