fix __repr__ method call

This commit is contained in:
LittlePony 2020-01-31 20:15:02 +03:00 committed by GitHub
parent 5c3ea9b638
commit 39b67bf79e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -283,7 +283,7 @@ class Server(object):
self.stop() self.stop()
else: else:
logger.error( logger.error(
"Exception inside application: %s", exception.__repr__, stack_info=True "Exception inside application: %s", exception.__repr__(), stack_info=True
) )
if not disconnected: if not disconnected:
protocol.handle_exception(exception) protocol.handle_exception(exception)