From 2082feeaa9ab5858f02232f8762bbf76034a58cd Mon Sep 17 00:00:00 2001 From: zzz Date: Tue, 14 Dec 2010 15:14:36 +0000 Subject: [PATCH] one more log error to a warn (ticket #356) --- core/java/src/net/i2p/client/I2PSessionImpl.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/java/src/net/i2p/client/I2PSessionImpl.java b/core/java/src/net/i2p/client/I2PSessionImpl.java index 72cc8b406..ea75f73ef 100644 --- a/core/java/src/net/i2p/client/I2PSessionImpl.java +++ b/core/java/src/net/i2p/client/I2PSessionImpl.java @@ -626,7 +626,9 @@ abstract class I2PSessionImpl implements I2PSession, I2CPMessageReader.I2CPMessa try { _producer.disconnect(this); } catch (I2PSessionException ipe) { - propogateError("Error destroying the session", ipe); + //propogateError("Error destroying the session", ipe); + if (_log.shouldLog(Log.WARN)) + _log.warn("Error destroying the session", ipe); } } _availabilityNotifier.stopNotifying();