Skip to content

Commit 4a67423

Browse files
Follow change in exception message
1 parent c349da8 commit 4a67423

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Framework/DataHandling/src/LoadNexusLogs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ std::unique_ptr<Kernel::Property> createTimeSeriesValidityFilter(::NeXus::File &
309309
}
310310
} catch (::NeXus::Exception &ex) {
311311
std::string error_msg = ex.what();
312-
if (error_msg != "NXopendata(value_valid) failed") {
312+
if (error_msg.starts_with("NXopendata(value_valid) failed")) {
313313
log.warning() << error_msg << "\n";
314314
file.closeData();
315315
// no data found

0 commit comments

Comments
 (0)