Skip to content

Commit

Permalink
review: amend message
Browse files Browse the repository at this point in the history
  • Loading branch information
yngve-sk committed Jan 28, 2025
1 parent ae0a1f0 commit abf084c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/everest/everest_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,13 +337,13 @@ def read_from_output_dir(self) -> None:
if os.path.exists(self._output_dir / "seba.db") or os.path.exists(
self._output_dir / "seba.db.backup"
):
trace = "\n".join(traceback.format_stack())
logging.getLogger(EVEREST).error(
f"Tried opening old seba storage."
f"Traceback: {'\n'.join(traceback.format_stack())}"
f"Tried opening old seba storage.Traceback: {trace}"
)
raise SystemExit(
f"Trying to open old storage @ {self._output_dir}/seba.db."
f"This storage can only be opened with an ERT version <= 12.1.2."
f"This storage can only be opened with an Everest/ERT version <= 12.1.2"
)

exp = _OptimizerOnlyExperiment(self._output_dir)
Expand Down

0 comments on commit abf084c

Please sign in to comment.