aboutsummaryrefslogtreecommitdiff
path: root/wqflask/cfg/default_settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask/cfg/default_settings.py')
-rw-r--r--wqflask/cfg/default_settings.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/wqflask/cfg/default_settings.py b/wqflask/cfg/default_settings.py
index 30ad51d1..1811ccfd 100644
--- a/wqflask/cfg/default_settings.py
+++ b/wqflask/cfg/default_settings.py
@@ -1 +1,5 @@
LOGFILE = """/tmp/flask_gn_log"""
+
+#This is needed because Flask turns key errors into a
+#400 bad request response with no exception/log
+TRAP_BAD_REQUEST_ERRORS = True