mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-04-12 06:02:29 -04:00
Fixed an unhandled exception in updater
This commit is contained in:
parent
229f698e72
commit
058866831b
@ -15,6 +15,6 @@ def do_update(endpoint=application.update_url):
|
|||||||
if endpoint == application.update_url:
|
if endpoint == application.update_url:
|
||||||
logger.error("Update failed! Using mirror URL...")
|
logger.error("Update failed! Using mirror URL...")
|
||||||
return do_update(endpoint=application.mirror_update_url)
|
return do_update(endpoint=application.mirror_update_url)
|
||||||
else:
|
else:
|
||||||
logger.exception("Update failed.")
|
logger.exception("Update failed.")
|
||||||
output.speak("An exception occurred while attempting to update " + application.name + ". If this message persists, contact the " + application.name + " developers. More information about the exception has been written to the error log.",True)
|
output.speak("An exception occurred while attempting to update " + application.name + ". If this message persists, contact the " + application.name + " developers. More information about the exception has been written to the error log.",True)
|
Loading…
x
Reference in New Issue
Block a user