1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

improve error message

This commit is contained in:
Steffen Vogel 2020-07-03 11:24:12 +02:00
parent 4038638c1c
commit 8df9bce692

View file

@ -115,7 +115,7 @@ void SuperNode::parse(json_t *cfg)
"idle_stop", &idleStop
);
if (ret)
throw ConfigError(cfg, err, "node-config");
throw ConfigError(cfg, err, "node-config", "Unpacking top-level config failed");
if (nme)
name = nme;