forked from M-Labs/artiq
artiq_devtool: don't loop forever if core device dies.
This commit is contained in:
parent
f17a6616b2
commit
1fa8be3835
|
@ -176,6 +176,7 @@ def main():
|
||||||
local_stream.send(data)
|
local_stream.send(data)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.exception("Forward error on port %s", port)
|
logger.exception("Forward error on port %s", port)
|
||||||
|
break
|
||||||
local_stream.close()
|
local_stream.close()
|
||||||
remote_stream.close()
|
remote_stream.close()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue