From 8ee6c682ca3a8c4615e740b0ae2915803ceb2dfc Mon Sep 17 00:00:00 2001 From: Thomas Hurst Date: Fri, 15 Aug 2008 17:34:33 +0100 Subject: [PATCH] Avoid silently eating gconf exceptions, at least under debug mode. --- terminatorlib/terminator.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/terminatorlib/terminator.py b/terminatorlib/terminator.py index 305d4e8a..4fcd8c14 100755 --- a/terminatorlib/terminator.py +++ b/terminatorlib/terminator.py @@ -110,8 +110,9 @@ class Terminator: stores.insert (0, store) else: stores.append (store) - except: - pass + except Exception, e: + # This should probably be ImportError; what else might it throw? + dbg("GConf setup threw exception %s" % str(e)) self.conf = config.TerminatorConfig (stores)