Spaces:
Running
Running
MVPilgrim
commited on
Commit
·
74bc1d0
1
Parent(s):
d92a52f
debug
Browse files
app.py
CHANGED
@@ -456,7 +456,11 @@ try:
|
|
456 |
|
457 |
logger.info("#### semsearch.py terminating.")
|
458 |
except Exception as e:
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
|
|
|
|
|
|
|
|
|
|
456 |
|
457 |
logger.info("#### semsearch.py terminating.")
|
458 |
except Exception as e:
|
459 |
+
emsg =
|
460 |
+
logger.error("#### Program-wide EXCEPTION. e: {e}")
|
461 |
+
try:
|
462 |
+
with open("/app/startup.log", "r") as file:
|
463 |
+
content = file.read()
|
464 |
+
print(content)
|
465 |
+
except Exception as e2:
|
466 |
+
logger.error("#### Displaying startup.log EXCEPTION. e2: {e2}")
|