@@ -127,7 +127,7 @@ def up(self):
127127 plural = "appwrappers" ,
128128 body = aw ,
129129 )
130- except Exception as e :
130+ except Exception as e : # pragma: no cover
131131 return _kube_api_error_handling (e )
132132
133133 def down (self ):
@@ -146,7 +146,7 @@ def down(self):
146146 plural = "appwrappers" ,
147147 name = self .app_wrapper_name ,
148148 )
149- except Exception as e :
149+ except Exception as e : # pragma: no cover
150150 return _kube_api_error_handling (e )
151151
152152 def status (
@@ -257,7 +257,7 @@ def cluster_dashboard_uri(self) -> str:
257257 namespace = self .config .namespace ,
258258 plural = "routes" ,
259259 )
260- except Exception as e :
260+ except Exception as e : # pragma: no cover
261261 return _kube_api_error_handling (e )
262262
263263 for route in routes ["items" ]:
@@ -374,7 +374,7 @@ def _app_wrapper_status(name, namespace="default") -> Optional[AppWrapper]:
374374 namespace = namespace ,
375375 plural = "appwrappers" ,
376376 )
377- except Exception as e :
377+ except Exception as e : # pragma: no cover
378378 return _kube_api_error_handling (e )
379379
380380 for aw in aws ["items" ]:
@@ -393,7 +393,7 @@ def _ray_cluster_status(name, namespace="default") -> Optional[RayCluster]:
393393 namespace = namespace ,
394394 plural = "rayclusters" ,
395395 )
396- except Exception as e :
396+ except Exception as e : # pragma: no cover
397397 return _kube_api_error_handling (e )
398398
399399 for rc in rcs ["items" ]:
@@ -413,7 +413,7 @@ def _get_ray_clusters(namespace="default") -> List[RayCluster]:
413413 namespace = namespace ,
414414 plural = "rayclusters" ,
415415 )
416- except Exception as e :
416+ except Exception as e : # pragma: no cover
417417 return _kube_api_error_handling (e )
418418
419419 for rc in rcs ["items" ]:
@@ -435,7 +435,7 @@ def _get_app_wrappers(
435435 namespace = namespace ,
436436 plural = "appwrappers" ,
437437 )
438- except Exception as e :
438+ except Exception as e : # pragma: no cover
439439 return _kube_api_error_handling (e )
440440
441441 for item in aws ["items" ]:
0 commit comments