Commit bdba4d82 authored by Stephan Feurer's avatar Stephan Feurer
Browse files

Fix notifier task not queued if failed

parent 9d46540f
......@@ -92,7 +92,7 @@ def notify_email(delta_id, attempts):
# Email was not sent, retry
logger.error("failed to send email to {}, attempts left: {}".format(receivers, attempts))
if attempts > 0:
notify_email(receivers, delta_id, attempts)
notify_email.delay(receivers, delta_id, attempts)
def check_delta(responsebool, return_value, parent_task):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment