From f15d750564cba4e51874f61acaeecbfa7ca96282 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 24 Jan 2021 16:21:18 +0100 Subject: [PATCH] now errors are handled also in production mode --- api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/api.py b/api.py index a862e7a..23a010b 100644 --- a/api.py +++ b/api.py @@ -12,6 +12,7 @@ from intact_words import intact app = flask.Flask(__name__, static_url_path='', static_folder='static') app.config["DEBUG"] = True +app.config["PROPAGATE_EXCEPTIONS"] = False counter = Value('i', 0) DATABASE = 'queermottoapi.db'