things is quite hard at this point.
@ -60,7 +60,8 @@ class _WorkerThread(threading.Thread, _IdleObject):
result = self._function(*args, **kwargs)
except Exception, exc: # Catch ALL exceptions
# TODO: Check if this catch all warnins too!
_log.debug('Exception inside thread: %s', str(exc))
_log.debug('Exception inside thread %s:\n%s',
self.getName(), str(exc))
self.emit("exception", exc)
return