Avoid silently eating gconf exceptions, at least under debug mode.

This commit is contained in:
Thomas Hurst 2008-08-15 17:34:33 +01:00
parent 7f1dc2729a
commit 8ee6c682ca
1 changed files with 3 additions and 2 deletions

View File

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