aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Transport
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-02-10 18:48:47 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-02-10 18:48:47 +0200
commitebc08ccd9085ff5e7687ac2af206c492b8084ae8 (patch)
treef7ff633bfe206c28cd797f7af81994fc1c72e261 /Software/Visual_Studio/Tango.Transport
parenta01a540f2f3465d6bb04db199949bb47462350bd (diff)
downloadTango-ebc08ccd9085ff5e7687ac2af206c492b8084ae8.tar.gz
Tango-ebc08ccd9085ff5e7687ac2af206c492b8084ae8.zip
Fixed external bridge not disconnecting on failed.
Reduced number of synchronization items per cycle.
Diffstat (limited to 'Software/Visual_Studio/Tango.Transport')
-rw-r--r--Software/Visual_Studio/Tango.Transport/Web/WebTransportClient.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Transport/Web/WebTransportClient.cs b/Software/Visual_Studio/Tango.Transport/Web/WebTransportClient.cs
index e838a6a05..fde08b968 100644
--- a/Software/Visual_Studio/Tango.Transport/Web/WebTransportClient.cs
+++ b/Software/Visual_Studio/Tango.Transport/Web/WebTransportClient.cs
@@ -124,6 +124,11 @@ namespace Tango.Transport.Web
}
catch
{
+ if (message == null)
+ {
+ Logging.LogManager.Default.Log($"Error parsing response message!\n{data}");
+ }
+
throw new HttpRequestException(ex.Message + " " + message);
}