From 26c5d6dc7cd52b9b2594886d880b03cd44979e52 Mon Sep 17 00:00:00 2001 From: Oleksii Shevchuk Date: Wed, 19 Oct 2016 21:44:19 +0300 Subject: [PATCH] Exceptions may be annoying if somebody tries to connect to the port --- pupy/network/lib/servers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pupy/network/lib/servers.py b/pupy/network/lib/servers.py index ce075c5d..c4a65683 100755 --- a/pupy/network/lib/servers.py +++ b/pupy/network/lib/servers.py @@ -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))