Save significant amount of memory by remove unused msgpack unpackers, Log unhandled exceptions, Connectionserver checker error bugfix

This commit is contained in:
HelloZeroNet 2015-03-15 00:48:06 +01:00
parent b9cf5d97f6
commit bce0f56d45
4 changed files with 19 additions and 9 deletions

View file

@ -19,7 +19,9 @@ def handleError(*args):
# Ignore notify errors
def handleErrorNotify(*args):
if args[0].__name__ != "Notify": sys.__excepthook__(*args)
if args[0].__name__ != "Notify":
logging.exception("Unhandled exception")
sys.__excepthook__(*args)
OriginalGreenlet = gevent.Greenlet