Source commit: e3b798759f3f09a85909f03308a9c3b3dcf123ae
@@ -1553,8 +1553,10 @@ void __fastcall TTerminal::OpenTunnel()
FTunnelThread = new TTunnelThread(FTunnel);
}
- catch(...)
+ catch (Exception & E)
{
+ LogEvent(L"Error opening tunnel.");
+ Log->AddException(&E);
CloseTunnel();
throw;