forked from M-Labs/artiq
1
0
Fork 0

artiq_devtool: fix an infinite loop on network error.

This commit is contained in:
whitequark 2017-03-03 10:39:35 +00:00
parent 924ae73000
commit 218046d96c
1 changed files with 1 additions and 0 deletions

View File

@ -153,6 +153,7 @@ def main():
.open_channel('direct-tcpip', (args.ip, port), peer_addr)
except Exception as e:
logger.exception("Cannot open channel on port %s", port)
continue
while True:
try:
r, w, x = select.select([local_stream, remote_stream], [], [])