MVPilgrim commited on
Commit
74bc1d0
·
1 Parent(s): d92a52f
Files changed (1) hide show
  1. app.py +8 -4
app.py CHANGED
@@ -456,7 +456,11 @@ try:
456
 
457
  logger.info("#### semsearch.py terminating.")
458
  except Exception as e:
459
- logger.error("#### EXCEPTION. e: {str(e)}")
460
- with open("/app/startup.log", "r") as file:
461
- content = file.read()
462
- print(content)
 
 
 
 
 
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}")