From 35ad183bd3d4a750fd30299b294ad23fdb31a696 Mon Sep 17 00:00:00 2001 From: Jakub Kadlčík Date: Apr 24 2019 18:27:38 +0000 Subject: [frontend] log handled 500 errors --- diff --git a/frontend/coprs_frontend/coprs/__init__.py b/frontend/coprs_frontend/coprs/__init__.py index b951b62..3732730 100644 --- a/frontend/coprs_frontend/coprs/__init__.py +++ b/frontend/coprs_frontend/coprs/__init__.py @@ -144,6 +144,7 @@ def handle_400(error): @app.errorhandler(CoprHttpException) def handle_500(error): error_handler = get_error_handler() + app.logger.error(error) return error_handler.handle_500(error)