@@ -125,7 +125,7 @@ def up(self):
125
125
plural = "appwrappers" ,
126
126
body = aw ,
127
127
)
128
- except Exception as e :
128
+ except Exception as e : # pragma: no cover
129
129
return _kube_api_error_handling (e )
130
130
131
131
def down (self ):
@@ -144,7 +144,7 @@ def down(self):
144
144
plural = "appwrappers" ,
145
145
name = self .app_wrapper_name ,
146
146
)
147
- except Exception as e :
147
+ except Exception as e : # pragma: no cover
148
148
return _kube_api_error_handling (e )
149
149
150
150
def status (
@@ -255,7 +255,7 @@ def cluster_dashboard_uri(self) -> str:
255
255
namespace = self .config .namespace ,
256
256
plural = "routes" ,
257
257
)
258
- except Exception as e :
258
+ except Exception as e : # pragma: no cover
259
259
return _kube_api_error_handling (e )
260
260
261
261
for route in routes ["items" ]:
@@ -372,7 +372,7 @@ def _app_wrapper_status(name, namespace="default") -> Optional[AppWrapper]:
372
372
namespace = namespace ,
373
373
plural = "appwrappers" ,
374
374
)
375
- except Exception as e :
375
+ except Exception as e : # pragma: no cover
376
376
return _kube_api_error_handling (e )
377
377
378
378
for aw in aws ["items" ]:
@@ -391,7 +391,7 @@ def _ray_cluster_status(name, namespace="default") -> Optional[RayCluster]:
391
391
namespace = namespace ,
392
392
plural = "rayclusters" ,
393
393
)
394
- except Exception as e :
394
+ except Exception as e : # pragma: no cover
395
395
return _kube_api_error_handling (e )
396
396
397
397
for rc in rcs ["items" ]:
@@ -411,7 +411,7 @@ def _get_ray_clusters(namespace="default") -> List[RayCluster]:
411
411
namespace = namespace ,
412
412
plural = "rayclusters" ,
413
413
)
414
- except Exception as e :
414
+ except Exception as e : # pragma: no cover
415
415
return _kube_api_error_handling (e )
416
416
417
417
for rc in rcs ["items" ]:
@@ -433,7 +433,7 @@ def _get_app_wrappers(
433
433
namespace = namespace ,
434
434
plural = "appwrappers" ,
435
435
)
436
- except Exception as e :
436
+ except Exception as e : # pragma: no cover
437
437
return _kube_api_error_handling (e )
438
438
439
439
for item in aws ["items" ]:
0 commit comments