forked from I2P_Developers/i2p.i2p
catch errors earlier
This commit is contained in:
@ -155,7 +155,11 @@ public class HandleTunnelCreateMessageJob extends JobImpl {
|
||||
GarlicMessage reply = createReply(msg);
|
||||
|
||||
TunnelId outTunnelId = selectReplyTunnel();
|
||||
|
||||
if (outTunnelId == null) {
|
||||
if (_log.shouldLog(Log.ERROR))
|
||||
_log.error("No tunnel to send reply through");
|
||||
return;
|
||||
}
|
||||
SendTunnelMessageJob job = new SendTunnelMessageJob(getContext(), reply, outTunnelId,
|
||||
_message.getReplyPeer(),
|
||||
_message.getReplyTunnel(),
|
||||
|
Reference in New Issue
Block a user