mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-04-25 21:57:12 +08:00
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()