From 046fce6bb063fff7d57dd5691a132982af7a9fb4 Mon Sep 17 00:00:00 2001 From: Felix Blanke Date: Mon, 28 Aug 2023 12:12:58 +0200 Subject: [PATCH] Print occurred errors --- wsgi.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wsgi.py b/wsgi.py index 3ecbe13..3786245 100644 --- a/wsgi.py +++ b/wsgi.py @@ -219,7 +219,8 @@ def tables( image = plot(df_state) timestamp = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S") - except Exception: + except Exception as e: + print(e) last_file = sorted(Path("data").iterdir())[-1] key = last_file.name[:10]