def retry_task_2(): raise RetryException(method=fixed(DELAY, 1), log_error=False)
def retry_task(): raise RetryException()