1
0
mirror of https://github.com/sui-feng-cb/AzurLaneAutoScript1.git synced 2026-06-18 00:25:42 +08:00
Files
AzurLaneAutoScript/module/webui/updater.py
18870 445877e43b Fix: Logging error when update failed
When retry failed, It calls logger.exception() which use traceback.print_exception() which use print(msg, file=file) to output. In Updater.update(), we monkey patch builtin.print() to logger.info() which don't have keyword argument `file`.
Set logger=None in retry decorator to avoid calling logger.exception()
2022-01-16 19:51:48 +08:00

9.6 KiB