Allow confirmation emails to fail without blocking the interface

This commit is contained in:
David Taylor
2017-05-18 16:21:44 +01:00
parent 703fb8561a
commit b4ab29393e

View File

@@ -85,8 +85,8 @@ def send_eventauthorisation_success_email(instance):
) )
# Now we have both emails successfully generated, send them out # Now we have both emails successfully generated, send them out
client_email.send() client_email.send(fail_silently=True)
mic_email.send() mic_email.send(fail_silently=True)
def on_revision_commit(instances, **kwargs): def on_revision_commit(instances, **kwargs):