forked from I2P_Developers/i2p.i2p
Tunnels: Downgrade log error to warn
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user