Uncomment error handling block commented for debug

This commit is contained in:
Juhani Haverinen 2016-07-12 17:23:58 +03:00
parent 9e8ab99c22
commit 841f7025da
1 changed files with 2 additions and 2 deletions

View File

@ -146,8 +146,8 @@ class Serve(threading.Thread):
try:
self.handle_request()
#except BaseException as err: # Catch and log exceptions instead of letting to crash, as we need to update the worker thread count on abnormal exit as well
# error('Worker thread died with: %s' % err)
except BaseException as err: # Catch and log exceptions instead of letting to crash, as we need to update the worker thread count on abnormal exit as well
error('Worker thread died with: %s' % err)
finally:
self.sock.close()
with threads_lock: