Skip to content

Commit

Permalink
config: better config parsing debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
robertswiecki committed Mar 14, 2022
1 parent e678c25 commit 6483728
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 6483728

Please sign in to comment.