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:
|
try:
|
||||||
self.handle_request()
|
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
|
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)
|
error('Worker thread died with: %s' % err)
|
||||||
finally:
|
finally:
|
||||||
self.sock.close()
|
self.sock.close()
|
||||||
with threads_lock:
|
with threads_lock:
|
||||||
|
|
Loading…
Reference in New Issue