diff options
Diffstat (limited to 'pyaggr3g470r/views.py')
-rw-r--r-- | pyaggr3g470r/views.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py index 58feb72b..108a3894 100644 --- a/pyaggr3g470r/views.py +++ b/pyaggr3g470r/views.py @@ -186,7 +186,10 @@ def signup(): return render_template('signup.html', form=form) # Send the confirmation email - result = emails.new_account_notification(user) + try: + emails.new_account_notification(user) + except Exception as e: + print str(e) if result.status_code != 200: flash(gettext('Problem while sending activation email: '+ str(result.text)), 'danger') |