mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-03-03 13:16:38 +00:00
u_config_json: Change node not found error->info
As our config grows it will happen more often that users won't have all possible nodes.
This commit is contained in:
parent
3ba9a9411a
commit
08db19beca
|
@ -87,7 +87,7 @@ get_obj(cJSON *json, const char *name)
|
|||
{
|
||||
cJSON *item = cJSON_GetObjectItemCaseSensitive(json, name);
|
||||
if (item == NULL) {
|
||||
U_LOG_E("Failed to find node '%s'!", name);
|
||||
U_LOG_I("JSON does not contain node '%s'!", name);
|
||||
}
|
||||
return item;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue