From 4fea4fc76fecd031fba4fee50ac410e024aeb839 Mon Sep 17 00:00:00 2001 From: Grant Limberg Date: Fri, 20 Jun 2025 14:39:12 -0700 Subject: [PATCH] debug output --- controller/CV2.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/controller/CV2.cpp b/controller/CV2.cpp index f912a55e1..8259471ab 100644 --- a/controller/CV2.cpp +++ b/controller/CV2.cpp @@ -856,7 +856,8 @@ void CV2::commitThread() fprintf(stderr, "%s ERROR: SQL error: %s\n", _myAddressStr.c_str(), s->query().c_str()); } } catch (std::exception &e) { - fprintf(stderr, "%s ERROR: Error updating member %s-%s: %s\n", _myAddressStr.c_str(), networkId.c_str(), memberId.c_str(), e.what()); + std::string cfgDump = OSUtils::jsonDump(config, 2); + fprintf(stderr, "%s ERROR: Error updating member %s-%s: %s\njsonDump: %s\n", _myAddressStr.c_str(), networkId.c_str(), memberId.c_str(), e.what(), cfgDump.c_str()); } } else if (objtype == "network") { try {