mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 16:34:13 +00:00
add more logging
This commit is contained in:
parent
3a50320f79
commit
90d8ec0e81
@ -457,7 +457,8 @@ namespace tunnel
|
|||||||
tunnel = prevTunnel;
|
tunnel = prevTunnel;
|
||||||
else if (prevTunnel)
|
else if (prevTunnel)
|
||||||
prevTunnel->FlushTunnelDataMsgs ();
|
prevTunnel->FlushTunnelDataMsgs ();
|
||||||
|
else
|
||||||
|
LogPrint(eLogWarning, "Tunnel: no previous tunnel, prevTunnelID=", prevTunnelID, "tunnelID=", tunnelID, "type=", (int)typeID);
|
||||||
if (!tunnel)
|
if (!tunnel)
|
||||||
tunnel = GetTunnel (tunnelID);
|
tunnel = GetTunnel (tunnelID);
|
||||||
if (tunnel)
|
if (tunnel)
|
||||||
@ -467,7 +468,7 @@ namespace tunnel
|
|||||||
else // tunnel gateway assumed
|
else // tunnel gateway assumed
|
||||||
HandleTunnelGatewayMsg (tunnel, msg);
|
HandleTunnelGatewayMsg (tunnel, msg);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
LogPrint (eLogWarning, "Tunnel: tunnel with id ", tunnelID, " not found, type=", (int)typeID);
|
LogPrint (eLogWarning, "Tunnel: tunnel with id ", tunnelID, " not found, type=", (int)typeID);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user