From 841f7025dab060b732545ef1b28b1e4673d437f4 Mon Sep 17 00:00:00 2001 From: Juhani Haverinen Date: Tue, 12 Jul 2016 17:23:58 +0300 Subject: [PATCH] Uncomment error handling block commented for debug --- neomi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neomi.py b/neomi.py index ed7ace0..2240df3 100644 --- a/neomi.py +++ b/neomi.py @@ -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: