better logs in cluster manager
Some checks failed
Build and deploy the backend to staging / Deploy to staging (pull_request) Has been cancelled
Build and deploy the backend to staging / Build and push image (pull_request) Has been cancelled
Run linting on the backend code / Build (pull_request) Successful in 2m34s
Run testing on the backend code / Build (pull_request) Failing after 55m28s
Some checks failed
Build and deploy the backend to staging / Deploy to staging (pull_request) Has been cancelled
Build and deploy the backend to staging / Build and push image (pull_request) Has been cancelled
Run linting on the backend code / Build (pull_request) Successful in 2m34s
Run testing on the backend code / Build (pull_request) Failing after 55m28s
This commit is contained in:
@@ -146,12 +146,9 @@ class ClusterManager:
|
|||||||
self.logger.debug(f"Found 0 {cluster_type} clusters.")
|
self.logger.debug(f"Found 0 {cluster_type} clusters.")
|
||||||
self.valid = False
|
self.valid = False
|
||||||
|
|
||||||
except UnboundLocalError as ule:
|
|
||||||
self.logger.warning(f"Error fetching clusters due to overpass crash: {ule}")
|
|
||||||
self.valid = False
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.logger.warning(f"Error fetching clusters: {e}")
|
self.logger.warning(f"Could not fetch clusters: {e}")
|
||||||
raise Exception from e
|
self.valid = False
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user