Made it far less likely for the UI to lock up

This commit is contained in:
David Carley
2021-03-23 21:19:45 -07:00
parent 47cec0dae3
commit a46230656e
13 changed files with 62 additions and 46 deletions

View File

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