webcodelab commited on
Commit
e918291
·
verified ·
1 Parent(s): 27e0b0f

Update app/email_utils.py

Browse files
Files changed (1) hide show
  1. app/email_utils.py +4 -1
app/email_utils.py CHANGED
@@ -34,5 +34,8 @@ def send_verification_email(to_email, username, token):
34
  print(f"Verification email sent to {to_email}")
35
  return True
36
  except Exception as e:
37
- print(f"Failed to send email: {e}")
 
 
38
  return False
 
 
34
  print(f"Verification email sent to {to_email}")
35
  return True
36
  except Exception as e:
37
+ print(f"❌ Failed to send email: {e}")
38
+ import traceback
39
+ traceback.print_exc()
40
  return False
41
+