modified: app.py

This commit is contained in:
SimolZimol
2025-08-24 23:11:30 +02:00
parent 241617bfb4
commit 18a60625ee

4
app.py
View File

@@ -1005,6 +1005,10 @@ def user_contact():
print(f"Error saving contact message: {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") 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: except Exception as e:
print(f"Error processing contact form: {e}") print(f"Error processing contact form: {e}")
flash("An unexpected error occurred. Please try again.", "danger") flash("An unexpected error occurred. Please try again.", "danger")