mirror of
https://github.com/Second-Hand-Friends/kleinanzeigen-bot.git
synced 2026-03-16 12:21:50 +01:00
fix: fail closed on uncertain post-submit retries
This commit is contained in:
@@ -14,3 +14,10 @@ class CaptchaEncountered(KleinanzeigenBotError):
|
||||
def __init__(self, restart_delay:timedelta) -> None:
|
||||
super().__init__()
|
||||
self.restart_delay = restart_delay
|
||||
|
||||
|
||||
class PublishSubmissionUncertainError(KleinanzeigenBotError):
|
||||
"""Raised when publish submission may have reached the server state boundary."""
|
||||
|
||||
def __init__(self, reason:str) -> None:
|
||||
super().__init__(reason)
|
||||
|
||||
Reference in New Issue
Block a user