Exceptions may be annoying if somebody tries to connect to the port

This commit is contained in:
Oleksii Shevchuk 2016-10-19 21:44:19 +03:00
parent 49eb7e8daa
commit 26c5d6dc7c
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ class PupyTCPServer(ThreadedServer):
self.logger.debug('{}:{} Timeout'.format(h, p))
except Exception as e:
self.logger.exception('{}:{} Exception: {}'.format(h, p, type(e)))
self.logger.debug('{}:{} Exception: {}'.format(h, p, type(e)))
finally:
self.logger.debug('{}:{} Shutting down'.format(h, p))