mirror of
https://github.com/owntracks/recorder.git
synced 2026-08-27 16:57:21 +00:00
log failed parsing of http.json
This commit is contained in:
@@ -1453,7 +1453,7 @@ void extra_http_json(JsonNode *array, char *user, char *device)
|
||||
}
|
||||
|
||||
if ((node = json_decode(js_string)) == NULL) {
|
||||
fprintf(stderr, "extra_http_json: can't decode JSON from %s\n", path);
|
||||
olog(LOG_ERR, "extra_http_json: can't decode JSON from %s", path);
|
||||
free(js_string);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user