Browse Source

Still trying to improve this debug message, 'cause catching unexpected

things is quite hard at this point.
master
Julio Biason 15 years ago
parent
commit
7275ea9b0b
  1. 3
      mitterlib/ui/helpers/gtk_threading.py

3
mitterlib/ui/helpers/gtk_threading.py

@ -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

Loading…
Cancel
Save