Router: Add stack trace to log error

to catch the message-to-ourselves culprit
This commit is contained in:
zzz
2022-12-13 16:27:48 -05:00
parent 08c31aa6f6
commit 4443fb464a

View File

@@ -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;