forked from MarseyWorld/MarseyWorld
catch email exception
parent
53b365739c
commit
c8e0d8b1c3
|
@ -352,7 +352,9 @@ def sign_up_post(v):
|
||||||
g.db.flush()
|
g.db.flush()
|
||||||
send_notification(ref_user.id, f"@AutoJanny has given you the following profile badge:\n\n![]({new_badge.path})\n\n{new_badge.name}")
|
send_notification(ref_user.id, f"@AutoJanny has given you the following profile badge:\n\n![]({new_badge.path})\n\n{new_badge.name}")
|
||||||
|
|
||||||
if email: send_verification_email(new_user)
|
if email:
|
||||||
|
try: send_verification_email(new_user)
|
||||||
|
except Exception as e: print(e)
|
||||||
|
|
||||||
existing_account = get_user(username, graceful=True)
|
existing_account = get_user(username, graceful=True)
|
||||||
if existing_account:
|
if existing_account:
|
||||||
|
|
Loading…
Reference in New Issue