forked from M-Labs/artiq
1
0
Fork 0

artiq_devtool: don't loop forever if core device dies.

This commit is contained in:
whitequark 2017-06-25 04:18:45 +00:00
parent f17a6616b2
commit 1fa8be3835
1 changed files with 1 additions and 0 deletions

View File

@ -176,6 +176,7 @@ def main():
local_stream.send(data)
except Exception as e:
logger.exception("Forward error on port %s", port)
break
local_stream.close()
remote_stream.close()