Display update errors instead of crashing

This commit is contained in:
shortcutme 2017-06-05 01:08:27 +02:00
parent eae2d59da7
commit 7fc2681252
No known key found for this signature in database
GPG Key ID: 5B63BAE6CB9613AE
1 changed files with 4 additions and 1 deletions

View File

@ -35,7 +35,10 @@ def main():
sys.modules["main"].lock.close()
# Update
update.update()
try:
update.update()
except Exception, err:
print "Update error: %s" % err
# Close log files
logger = sys.modules["main"].logging.getLogger()