|
|
@ -60,7 +60,8 @@ class _WorkerThread(threading.Thread, _IdleObject): |
|
|
|
result = self._function(*args, **kwargs) |
|
|
|
result = self._function(*args, **kwargs) |
|
|
|
except Exception, exc: # Catch ALL exceptions |
|
|
|
except Exception, exc: # Catch ALL exceptions |
|
|
|
# TODO: Check if this catch all warnins too! |
|
|
|
# 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) |
|
|
|
self.emit("exception", exc) |
|
|
|
return |
|
|
|
return |
|
|
|
|
|
|
|
|
|
|
|