Spaces:
Runtime error
Runtime error
Update app/email_utils.py
Browse files- 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 |
+
|