Gregor Betz
commited on
Commit
•
e698b42
1
Parent(s):
dfae691
log err
Browse files
app.py
CHANGED
@@ -19,7 +19,8 @@ def restart_space():
|
|
19 |
|
20 |
try:
|
21 |
df_cot_err, df_cot_regimes = load_cot_data()
|
22 |
-
except Exception:
|
|
|
23 |
# sleep for 10 seconds before restarting the space
|
24 |
import time
|
25 |
time.sleep(10)
|
|
|
19 |
|
20 |
try:
|
21 |
df_cot_err, df_cot_regimes = load_cot_data()
|
22 |
+
except Exception as err:
|
23 |
+
print(err)
|
24 |
# sleep for 10 seconds before restarting the space
|
25 |
import time
|
26 |
time.sleep(10)
|