Print occurred errors
This commit is contained in:
parent
204195ac06
commit
046fce6bb0
3
wsgi.py
3
wsgi.py
@ -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]
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user