logging, including replacing the scary monster with its true self (we had data queued up, but were unable to get an ACK on our last write)

This commit is contained in:
jrandom
2004-07-16 20:48:40 +00:00
committed by zzz
parent f0b6cbaf89
commit 37d5531737
2 changed files with 10 additions and 6 deletions

View File

@@ -264,7 +264,8 @@ public class I2PSocketManager implements I2PSessionListener {
s.queueData(payload);
return;
} else {
_log.error(getName() + ": Null socket with data available");
if (_log.shouldLog(Log.WARN))
_log.warn(getName() + ": Null socket with data available");
throw new IllegalStateException("Null socket with data available");
}
}