Browse Source

debug output

pull/4/head
Grant Limberg 9 months ago
parent
commit
4fea4fc76f
No known key found for this signature in database
GPG Key ID: 8F2F97D3BE8D7735
  1. 3
      controller/CV2.cpp

3
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 {

Loading…
Cancel
Save