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 committed Oct 18, 2024
1 parent 52b0df9 commit 002f743
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 002f743

Please sign in to comment.