Tunnels: Downgrade log error to warn

This commit is contained in:
zzz
2021-01-12 09:49:09 -05:00
parent a424331b78
commit bf29132898

View File

@@ -130,8 +130,8 @@ public class TunnelPoolManager implements TunnelManagerFacade {
if (pool != null) {
return pool.selectTunnel();
}
if (_log.shouldLog(Log.ERROR))
_log.error("Want the inbound tunnel for " + destination.toBase32() +
if (_log.shouldWarn())
_log.warn("Want the inbound tunnel for " + destination.toBase32() +
" but there isn't a pool?", new Exception());
return null;
}
@@ -206,8 +206,8 @@ public class TunnelPoolManager implements TunnelManagerFacade {
if (pool != null) {
return pool.selectTunnel(closestTo);
}
if (_log.shouldLog(Log.ERROR))
_log.error("Want the inbound tunnel for " + destination.toBase32() +
if (_log.shouldWarn())
_log.warn("Want the inbound tunnel for " + destination.toBase32() +
" but there isn't a pool?", new Exception());
return null;
}