Fixed rmserver/rmbuild bug

Signed-off-by: Joppe Blondel <joppe@blondel.nl>
This commit is contained in:
2022-09-05 13:18:57 +02:00
parent 0e95f91fb2
commit aa9aa6aa78
4 changed files with 11 additions and 12 deletions

View File

@ -183,10 +183,10 @@ class SSHServer(paramiko.ServerInterface):
return True
except Exception:
except Exception as e:
global running
if running:
print("ERROR: Unknown error")
print("ERROR: Unknown error:", e)
return False
class Connection(threading.Thread):