diff --git a/mitterlib/ui/helpers/gtk_threading.py b/mitterlib/ui/helpers/gtk_threading.py index 08c803d..d304315 100644 --- a/mitterlib/ui/helpers/gtk_threading.py +++ b/mitterlib/ui/helpers/gtk_threading.py @@ -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