1
0
mirror of https://github.com/Ylianst/MeshCentralRouter synced 2025-12-15 07:43:38 +00:00

Display more information on websocket TLS connection exception.

This commit is contained in:
Ylian Saint-Hilaire
2021-02-03 16:35:14 -08:00
parent 63f651081f
commit e4205cdc84

View File

@@ -836,7 +836,11 @@ namespace MeshCentralRouter
catch (Exception ex)
{
// Disconnect
MessageBox.Show(ex.Message, "MeshRouter");
if (ex.InnerException != null) {
MessageBox.Show(ex.Message + ", Inner: " + ex.InnerException.ToString(), "MeshCentral Router");
} else {
MessageBox.Show(ex.Message, "MeshCentral Router");
}
Debug("Websocket TLS failed: " + ex.ToString());
Dispose();
return;