Uncomment error handling block commented for debug
This commit is contained in:
parent
9e8ab99c22
commit
841f7025da
4
neomi.py
4
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:
|
||||
|
|
Loading…
Reference in New Issue