From 18a60625ee46bfe901ebf9b002b9914ce6010422 Mon Sep 17 00:00:00 2001 From: SimolZimol <70102430+SimolZimol@users.noreply.github.com> Date: Sun, 24 Aug 2025 23:11:30 +0200 Subject: [PATCH] modified: app.py --- app.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app.py b/app.py index 0399eea..394b800 100644 --- a/app.py +++ b/app.py @@ -1005,6 +1005,10 @@ def user_contact(): print(f"Error saving contact message: {e}") flash("There was an error submitting your message. Please try again or contact us directly on Discord.", "danger") + except Exception as e: + print(f"Error saving contact message: {e}") + flash("There was an error submitting your message. Please try again or contact us directly on Discord.", "danger") + except Exception as e: print(f"Error processing contact form: {e}") flash("An unexpected error occurred. Please try again.", "danger")