mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-19 13:18:32 +00:00
u_config_json: Make missing tracking node messages friendlier
This commit is contained in:
parent
054850de76
commit
45d889e390
|
@ -244,7 +244,7 @@ open_tracking_settings(struct u_config_json *json)
|
|||
|
||||
cJSON *t = cJSON_GetObjectItemCaseSensitive(json->root, "tracking");
|
||||
if (t == NULL) {
|
||||
U_LOG_E("No tracking node");
|
||||
U_LOG_I("Config file does not contain tracking config");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
@ -253,7 +253,7 @@ open_tracking_settings(struct u_config_json *json)
|
|||
|
||||
bad |= !get_obj_int(t, "version", &ver);
|
||||
if (bad || ver >= 1) {
|
||||
U_LOG_E("Missing or unknown version tag '%i'", ver);
|
||||
U_LOG_E("Missing or unknown version tag '%i' in tracking config", ver);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue