forked from I2P_Developers/i2p.i2p
Router: Add stack trace to log error
to catch the message-to-ourselves culprit
This commit is contained in:
@@ -64,7 +64,7 @@ class GetBidsJob extends JobImpl {
|
||||
Hash us = context.routerHash();
|
||||
if (to.equals(us)) {
|
||||
if (log.shouldLog(Log.ERROR))
|
||||
log.error("send a message to ourselves? nuh uh. msg = " + msg);
|
||||
log.error("send a message to ourselves? nuh uh. msg = " + msg, new Exception("I did it"));
|
||||
context.statManager().addRateData("transport.bidFailSelf", msg.getLifetime());
|
||||
fail(context, msg);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user