Made it far less likely for the UI to lock up
This commit is contained in:
@@ -52,7 +52,7 @@ class Config(object):
|
||||
encoding = 'utf-8') as f:
|
||||
self.template = json.load(f)
|
||||
|
||||
except Exception: self.log.exception()
|
||||
except Exception: self.log.exception('Internal error: Failed to load config template')
|
||||
|
||||
|
||||
def get(self, name, default = None):
|
||||
@@ -73,7 +73,7 @@ class Config(object):
|
||||
|
||||
try:
|
||||
self.upgrade(config)
|
||||
except Exception: self.log.exception()
|
||||
except Exception: self.log.exception('Internal error: Failed to upgrade config')
|
||||
|
||||
except Exception as e:
|
||||
self.log.warning('%s', e)
|
||||
|
||||
Reference in New Issue
Block a user