Skip to content

Commit

Permalink
track retry
Browse files Browse the repository at this point in the history
  • Loading branch information
gotlium committed Apr 30, 2015
1 parent af68cd3 commit 0153db0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dbmail/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ class Request(object):
)
else:
track_log[0].save()

except (signing.BadSignature, MailLog.DoesNotExist):
pass
except Exception, exc:
raise mail_track.retry(
retry=True, max_retries=SEND_RETRY,
countdown=SEND_RETRY_DELAY, exc=exc,
)

0 comments on commit 0153db0

Please sign in to comment.