diff --git a/app/auth/views/register.py b/app/auth/views/register.py index 70dcb5f8..f9ae7431 100644 --- a/app/auth/views/register.py +++ b/app/auth/views/register.py @@ -85,7 +85,7 @@ def register(): try: send_activation_email(user, next_url) - except: + except Exception: flash("Invalid email, are you sure the email is correct?", "error") return redirect(url_for("auth.register"))