From 01a7667032cf1ceebd42281b17d0b8af61e66466 Mon Sep 17 00:00:00 2001 From: pictuga Date: Thu, 14 Jan 2021 00:51:47 +0100 Subject: [PATCH] Fix error due to remaining log force code --- morss/wsgi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/morss/wsgi.py b/morss/wsgi.py index d08385e..d0cf66d 100644 --- a/morss/wsgi.py +++ b/morss/wsgi.py @@ -257,7 +257,7 @@ def cgi_error_handler(environ, start_response, app): except Exception as e: headers = {'status': '500 Oops', 'content-type': 'text/html'} start_response(headers['status'], list(headers.items()), sys.exc_info()) - log('ERROR: %s' % repr(e), force=True) + log('ERROR: %s' % repr(e)) return [cgitb.html(sys.exc_info())]