Debugging auto update

This commit is contained in:
piair 2024-05-16 17:52:12 +02:00
parent 1db1de9606
commit c7e110787b
3 changed files with 7 additions and 4 deletions

1
V6.py
View File

@ -897,6 +897,7 @@ def default_start():
try: try:
config.WebDriver.set_pc_driver(create_driver()) config.WebDriver.set_pc_driver(create_driver())
except: except:
info("Could not configure driver. Trying to update it.")
subprocess.Popen(["python3", "/app/MsRewards-Reborn/modules/Tools/update_chrome.py"]) subprocess.Popen(["python3", "/app/MsRewards-Reborn/modules/Tools/update_chrome.py"])
config.WebDriver.set_pc_driver(create_driver()) config.WebDriver.set_pc_driver(create_driver())
config.WebDriver.switch_to_driver("PC") config.WebDriver.switch_to_driver("PC")

View File

@ -15,6 +15,8 @@ try:
except Exception as e: except Exception as e:
critical("Can't get version number from error") critical("Can't get version number from error")
error(e) error(e)
info("error message")
info(errorMessage)
exit(0) exit(0)
info(f"Needed version : '{versionN}'") info(f"Needed version : '{versionN}'")

View File

@ -1 +1 @@
v6.8.55 v6.8.56