diff --git a/neomi.py b/neomi.py index 25f81cc..eadca77 100644 --- a/neomi.py +++ b/neomi.py @@ -154,7 +154,7 @@ 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) + error('Worker thread (%s) died with: %s' % (self.address, err)) finally: self.sock.close() with threads_lock: