different catch

This commit is contained in:
Erik Fröjdh
2025-12-18 14:23:16 +01:00
parent 9a3add0096
commit eeea553c84

View File

@@ -214,7 +214,7 @@ void RawMasterFile::parse_json(const std::filesystem::path &fpath) {
m_exptime = string_to<std::chrono::nanoseconds>( m_exptime = string_to<std::chrono::nanoseconds>(
j["Exposure Time"].get<std::string>()); j["Exposure Time"].get<std::string>());
} }
} catch (const json::out_of_range &e) { } catch (const json::exception &e) {
// keep default 0, Mythen3 not supported yet // keep default 0, Mythen3 not supported yet
} }