From 8df9bce692646a629515cb6cbf4dd69878e2e66f Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Fri, 3 Jul 2020 11:24:12 +0200 Subject: [PATCH] improve error message --- lib/super_node.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/super_node.cpp b/lib/super_node.cpp index ec2862f8a..326d7cba0 100644 --- a/lib/super_node.cpp +++ b/lib/super_node.cpp @@ -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;