summaryrefslogtreecommitdiff
path: root/rpc/rpc.py
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/rpc.py')
-rw-r--r--rpc/rpc.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/rpc/rpc.py b/rpc/rpc.py
index 464de62..26a7ed4 100644
--- a/rpc/rpc.py
+++ b/rpc/rpc.py
@@ -102,7 +102,11 @@ class CortexRPC(object):
def send_frame(self, fn, meta, frame):
if self.relay is not None:
# print('Send frame ' + fn)
- self.relay.send_frame(fn, meta, frame)
+ try:
+ self.relay.send_frame(fn, meta, frame)
+ except Exception as e:
+ print('Caught exception...? Wha')
+ return self.connected()
else:
print('Can\'t send frame, relay not ready...')