log tweak

This commit is contained in:
zzz
2011-07-26 13:27:15 +00:00
parent a61f113cd1
commit 02bc228d6f

View File

@ -349,8 +349,8 @@ class BuildHandler {
RouterInfo ri = getContext().netDb().lookupRouterInfoLocally(_nextPeer);
if (ri != null)
handleReq(ri, _state, _req, _nextPeer);
else
_log.error("Deferred successfully, but we couldnt find " + _nextPeer.toBase64() + "?");
else if (_log.shouldLog(Log.WARN))
_log.warn("Deferred successfully, but we couldnt find " + _nextPeer.toBase64() + "?");
}
}