u_config_json: clarify json not parsed error message

This commit is contained in:
Christoph Haag 2021-03-24 18:15:39 +01:00 committed by Jakob Bornecrantz
parent f0132eb997
commit 2959747221

View file

@ -161,7 +161,7 @@ is_json_ok(struct u_config_json *json)
{ {
if (json->root == NULL) { if (json->root == NULL) {
if (json->file_loaded) { if (json->file_loaded) {
U_LOG_E("JSON not parsed!"); U_LOG_E("Config file was loaded but JSON is not parsed!");
} else { } else {
U_LOG_I("No config file was loaded!"); U_LOG_I("No config file was loaded!");
} }