Prathamesh Sarjerao Vaidya commited on
Commit
2db2934
·
1 Parent(s): 85a395c

Update web_app.py

Browse files
Files changed (1) hide show
  1. web_app.py +2 -1
web_app.py CHANGED
@@ -857,7 +857,8 @@ async def get_system_info():
857
  else:
858
  health_status = "Error"
859
  health_color = "yellow"
860
- except Exception:
 
861
  health_status = "Server Down"
862
  health_color = "red"
863
 
 
857
  else:
858
  health_status = "Error"
859
  health_color = "yellow"
860
+ except Exception as e:
861
+ print("An exception occurred while getting system info: ", e)
862
  health_status = "Server Down"
863
  health_color = "red"
864