Avoid silently eating gconf exceptions, at least under debug mode.
This commit is contained in:
parent
7f1dc2729a
commit
8ee6c682ca
|
@ -110,8 +110,9 @@ class Terminator:
|
||||||
stores.insert (0, store)
|
stores.insert (0, store)
|
||||||
else:
|
else:
|
||||||
stores.append (store)
|
stores.append (store)
|
||||||
except:
|
except Exception, e:
|
||||||
pass
|
# This should probably be ImportError; what else might it throw?
|
||||||
|
dbg("GConf setup threw exception %s" % str(e))
|
||||||
|
|
||||||
self.conf = config.TerminatorConfig (stores)
|
self.conf = config.TerminatorConfig (stores)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue