mirror of
https://github.com/Ylianst/MeshCentralRouter
synced 2025-12-17 00:33:15 +00:00
Display more information on websocket TLS connection exception.
This commit is contained in:
@@ -836,7 +836,11 @@ namespace MeshCentralRouter
|
|||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
// Disconnect
|
// 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());
|
Debug("Websocket TLS failed: " + ex.ToString());
|
||||||
Dispose();
|
Dispose();
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user