Merge pull request #4870 from blattms/print-missing-restart-file

Include name of missing OPM restart file in error.
This commit is contained in:
Atgeirr Flø Rasmussen authored and GitHub committed 2023-09-15 15:29:50 +02:00
commit a59920cee2
1 file changed
+1 -1
@@ -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_);
}
}
}