Print occurred errors
This commit is contained in:
@@ -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]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user