diff options
Diffstat (limited to 'src/factories/BaseFactory.h')
| -rw-r--r-- | src/factories/BaseFactory.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/factories/BaseFactory.h b/src/factories/BaseFactory.h index cf00685..fc7aed6 100644 --- a/src/factories/BaseFactory.h +++ b/src/factories/BaseFactory.h @@ -40,7 +40,7 @@ std::optional<T> GetNode(YAML::Node& node, const std::string& key) { template<typename T> T GetSafeNode(YAML::Node& node, const std::string& key) { if(!node[key]) { - throw std::runtime_error("Failed to find entry"); + throw std::runtime_error("Failed to find " + key); } return node[key].as<T>(); |
