Display update errors instead of crashing
This commit is contained in:
parent
eae2d59da7
commit
7fc2681252
1 changed files with 4 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue