From 90d8ec0e81f7a7fe33e13de081fc500740316924 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Wed, 29 Jun 2016 09:37:21 -0400 Subject: [PATCH] add more logging --- Tunnel.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Tunnel.cpp b/Tunnel.cpp index 7017d807..8f1f4712 100644 --- a/Tunnel.cpp +++ b/Tunnel.cpp @@ -457,7 +457,8 @@ namespace tunnel tunnel = prevTunnel; else if (prevTunnel) prevTunnel->FlushTunnelDataMsgs (); - + else + LogPrint(eLogWarning, "Tunnel: no previous tunnel, prevTunnelID=", prevTunnelID, "tunnelID=", tunnelID, "type=", (int)typeID); if (!tunnel) tunnel = GetTunnel (tunnelID); if (tunnel) @@ -467,7 +468,7 @@ namespace tunnel else // tunnel gateway assumed HandleTunnelGatewayMsg (tunnel, msg); } - else + else LogPrint (eLogWarning, "Tunnel: tunnel with id ", tunnelID, " not found, type=", (int)typeID); break; }