fix: auto-restart when captcha was encountered

This commit is contained in:
sebthom
2025-05-12 17:20:51 +02:00
parent 65738926ae
commit ee4146f57c
2 changed files with 3 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ def on_exception(ex_type:type[BaseException] | None, ex_value:BaseException | No
LOG.error(ex_value)
else:
LOG.error("%s: %s", ex_type.__name__, ex_value)
sys.exit(1)
def on_sigint(_sig:int, _frame:FrameType | None) -> None: