Skip to content

Commit

Permalink
Improve error message for missing parameter version key
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarquisbq authored and imikejackson committed Nov 22, 2024
1 parent ace11c0 commit 75f2321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simplnx/Filter/IParameter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Result<std::any> IParameter::fromJson(const nlohmann::json& json) const
}
else
{
warnings.push_back(Warning{-1, fmt::format("{}: Parameter key '{}' does not exist. Assuming version={}", name(), k_VersionKey, version)});
warnings.push_back(Warning{-1, fmt::format("{}: Parameter key '{}' does not exist. Assuming version={}. To fix this, save the pipeline file.", name(), k_VersionKey, version)});
}

nlohmann::json valueJson;
Expand Down

0 comments on commit 75f2321

Please sign in to comment.