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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user