Print occurred errors

This commit is contained in:
Felix Blanke
2023-08-28 12:12:58 +02:00
parent 204195ac06
commit 046fce6bb0
+2 -1
View File
@@ -219,7 +219,8 @@ def tables(
image = plot(df_state) image = plot(df_state)
timestamp = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S") 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] last_file = sorted(Path("data").iterdir())[-1]
key = last_file.name[:10] key = last_file.name[:10]