From 5ea9a45112c0dc53cfb1e881eed8a2c3c6b80e98 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Tue, 13 May 2014 19:36:21 +0200 Subject: Add reason of the problem.. --- pyaggr3g470r/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py index f2185858..58feb72b 100644 --- a/pyaggr3g470r/views.py +++ b/pyaggr3g470r/views.py @@ -189,7 +189,7 @@ def signup(): result = emails.new_account_notification(user) if result.status_code != 200: - flash(gettext('Problem while sending activation email.'), 'danger') + flash(gettext('Problem while sending activation email: '+ str(result.text)), 'danger') else: flash(gettext('Your account has been created. Check your mail to confirm it.'), 'success') return redirect(url_for('home')) -- cgit