mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #4870 from blattms/print-missing-restart-file
Include name of missing OPM restart file in error.
This commit is contained in:
commit
a59920cee2
@ -241,7 +241,7 @@ public:
|
||||
path.replace_filename(ioconfig.getBaseName() + ".OPMRST");
|
||||
loadFile_ = path;
|
||||
if (!std::filesystem::exists(loadFile_)) {
|
||||
OPM_THROW(std::runtime_error, "Error locating serialized restart file");
|
||||
OPM_THROW(std::runtime_error, "Error locating serialized restart file " + loadFile_);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user