Skip to content

Commit

Permalink
Avoid crashing while cleaning up tmp-directory
Browse files Browse the repository at this point in the history
  • Loading branch information
berland committed Sep 25, 2024
1 parent a9c5eb2 commit 1ad29ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ert/plugins/plugin_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,4 +391,4 @@ def __exit__(
self._reset_environment()
logger.debug("Deleting temporary directory for site-config")
if self.tmp_dir is not None:
shutil.rmtree(self.tmp_dir)
shutil.rmtree(self.tmp_dir, ignore_errors=True)

0 comments on commit 1ad29ca

Please sign in to comment.