[pitivi] Loggable: Add a method for logging exceptions
- From: Edward Hervey <edwardrv src gnome org>
- To: svn-commits-list gnome org
- Subject: [pitivi] Loggable: Add a method for logging exceptions
- Date: Fri, 17 Apr 2009 09:36:45 -0400 (EDT)
commit 4265d1876be0d818484523fab46b257532ecced9
Author: Edward Hervey <bilboed bilboed com>
Date: Thu Apr 16 11:37:24 2009 +0200
Loggable: Add a method for logging exceptions
---
pitivi/log/log.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/pitivi/log/log.py b/pitivi/log/log.py
index 78863b5..d9d5e1e 100644
--- a/pitivi/log/log.py
+++ b/pitivi/log/log.py
@@ -831,6 +831,9 @@ class Loggable:
return None
+ def handleException(self, exc):
+ self.warning(getExceptionMessage(exc))
+
# Twisted helper stuff
# private stuff
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]