mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-01 21:17:44 -05:00
impr: Better JSON error handling in many places
This commit is contained in:
@@ -269,7 +269,7 @@ namespace hex::plugin::builtin {
|
||||
void IntelHexProvider::loadSettings(const nlohmann::json &settings) {
|
||||
Provider::loadSettings(settings);
|
||||
|
||||
auto path = settings["path"].get<std::string>();
|
||||
auto path = settings.at("path").get<std::string>();
|
||||
this->m_sourceFilePath = std::u8string(path.begin(), path.end());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user