Commit 6dfb4cb0 authored by ibuler's avatar ibuler

[Update] 去掉slb心跳导致的报错

parent 510513c1
......@@ -99,12 +99,11 @@ class SSHServer:
t.start()
transport.close()
except paramiko.SSHException as e:
logger.warning("SSH negotiation failed: {}".format(e))
logger.debug("SSH negotiation failed: {}".format(e))
except EOFError as e:
logger.warning("Handle connection EOF Error: {}".format(e))
logger.debug("Handle connection EOF Error: {}".format(e))
except Exception as e:
logger.error("Unexpect error occur on handle connection: {}".format(e))
logger.error(e, exc_info=True)
finally:
Connection.remove_connection(connection.id)
sock.close()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment