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)
|
||||
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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user