mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2026-02-19 09:38:41 +01:00
different catch
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user