File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -305,7 +305,7 @@ def __init__(
305305 self ._process_create_time = (
306306 psutil .Process (self ._process_pid ).create_time ()
307307 )
308- except ( psutil . NoSuchProcess , PermissionError ) :
308+ except Exception :
309309 self ._process_create_time = None
310310 service_ = None
311311 log_output = subprocess .PIPE
@@ -415,7 +415,7 @@ def is_running(self):
415415 return process .status () != psutil .STATUS_ZOMBIE
416416 except psutil .NoSuchProcess :
417417 return False
418- except PermissionError :
418+ except Exception :
419419 return None
420420
421421 def remove_cdc_props_as_needed (self ):
Original file line number Diff line number Diff line change @@ -279,7 +279,7 @@ def is_running(self):
279279 return process .status () != psutil .STATUS_ZOMBIE
280280 except psutil .NoSuchProcess :
281281 return False
282- except PermissionError :
282+ except Exception :
283283 return None
284284
285285 def get_rd_host (self ):
@@ -650,7 +650,7 @@ async def start(self=None) -> Browser:
650650 self ._process_create_time = (
651651 psutil .Process (self ._process_pid ).create_time ()
652652 )
653- except ( psutil . NoSuchProcess , PermissionError ) :
653+ except Exception :
654654 self ._process_create_time = None
655655 await asyncio .sleep (0.05 )
656656 self ._http = HTTPApi ((self .config .host , self .config .port ))
You can’t perform that action at this time.
0 commit comments