From 6483728e2490c1fc497a81bba5682515eb489cf8 Mon Sep 17 00:00:00 2001 From: Robert Swiecki Date: Tue, 15 Mar 2022 00:44:33 +0100 Subject: [PATCH] config: better config parsing debugging --- config.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.cc b/config.cc index e9344c9d..01796971 100644 --- a/config.cc +++ b/config.cc @@ -326,11 +326,11 @@ bool parseFile(nsjconf_t* nsjconf, const char* file) { return false; } if (!configParseInternal(nsjconf, nsc)) { - LOG_W("Couldn't parse the ProtoBuf"); + LOG_W("Couldn't parse the ProtoBuf from '%s'", file); return false; } - LOG_D("Parsed config:\n'%s'", nsc.DebugString().c_str()); + LOG_D("Parsed config from '%s':\n'%s'", file, nsc.DebugString().c_str()); return true; }