mirror of
https://github.com/romanz/amodem.git
synced 2026-03-30 23:48:17 +08:00
server: don't crash after single exception
This commit is contained in:
@@ -46,6 +46,8 @@ def handle_connection(conn, handler):
|
||||
util.send(conn, reply)
|
||||
except EOFError:
|
||||
log.debug('goodbye agent')
|
||||
except Exception as e: # pylint: disable=broad-except
|
||||
log.warning('error: %s', e, exc_info=True)
|
||||
|
||||
|
||||
def retry(func, exception_type, quit_event):
|
||||
|
||||
Reference in New Issue
Block a user