From 5a77f1121df6be129261ddfca29c57bbeb780830 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=B5=84=E2=B5=8E=E2=B5=89=E2=B5=94=E2=B5=93=E2=B5=9B?= Date: Mon, 11 Dec 2023 15:04:03 +0100 Subject: [PATCH] fix(api): make it easier to restart dev server. (#1766) --- api/chalicelib/core/health.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/chalicelib/core/health.py b/api/chalicelib/core/health.py index 20ac2eebd..6734021fe 100644 --- a/api/chalicelib/core/health.py +++ b/api/chalicelib/core/health.py @@ -101,7 +101,7 @@ def __check_be_service(service_name): try: print(results.text) # fail_response["details"]["errors"].append(results.text) - except: + except Exception: print("couldn't get response") # fail_response["details"]["errors"].append(str(e)) return fail_response