aboutsummaryrefslogtreecommitdiff
path: root/interfaces
diff options
context:
space:
mode:
Diffstat (limited to 'interfaces')
-rwxr-xr-xinterfaces/endpoint.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/interfaces/endpoint.py b/interfaces/endpoint.py
index 5aa369b..15356c2 100755
--- a/interfaces/endpoint.py
+++ b/interfaces/endpoint.py
@@ -82,7 +82,7 @@ class EndPoint(object):
try:
received = self.connection.read()
except Exception as e:
- print(e)
+ print("fetch error", e)
self.state = self.STATE_DISCONNECTED
return
else:
@@ -108,5 +108,5 @@ class EndPoint(object):
j = json.dumps( data )
self.connection.write(bytes(j, "utf-8"))
except Exception as e:
- print(e)
+ print("send error", e)
self.state = self.STATE_DISCONNECTED