Skip to content

Commit

Permalink
add filenotfounderror exception when cleaning the test folder (#465)
Browse files Browse the repository at this point in the history
  • Loading branch information
mariostieriansys authored Oct 18, 2024
1 parent ff34d1d commit 0717b2c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ansys/pyensight/core/locallauncher.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,8 @@ def stop(self) -> None:
return
except PermissionError:
pass
except FileNotFoundError:
pass
except Exception:
raise
raise RuntimeError(f"Unable to remove {self.session_directory} in {maximum_wait_secs}s")
Expand Down

0 comments on commit 0717b2c

Please sign in to comment.