From 6586a38351028a85392585a31fbf19928c7c7f12 Mon Sep 17 00:00:00 2001 From: Ryan Kegel Date: Tue, 27 Oct 2026 16:11:28 -0400 Subject: [PATCH] feat: add validation for production SSH credentials in deployment workflow --- backend/utils/email_sender.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/utils/email_sender.py b/backend/utils/email_sender.py index bf7ecbb..f95043b 100644 --- a/backend/utils/email_sender.py +++ b/backend/utils/email_sender.py @@ -148,8 +148,8 @@ def send_reset_password_email(to_email: str, token: str) -> None: return Mail(current_app).send(msg) print(f"[EMAIL to {to_email}] Reset password: {reset_url}") - except Exception: - print(f"Failed to send email to {to_email}. Reset link: {reset_url}") + except Exception as e: + print(f"Failed to send email to {to_email}. Reset link: {reset_url}. exception: {e}") def send_pin_setup_email(to_email: str, code: str) -> None: