mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +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() |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| app.py | ||
| base.py | ||
| config.py | ||
| discord_presence.py | ||
| fastapi.py | ||
| lang.py | ||
| pin.py | ||
| process_manager.py | ||
| setting.py | ||
| translate.py | ||
| updater.py | ||
| utils.py | ||
| widgets.py | ||