log failed parsing of http.json

This commit is contained in:
Jan-Piet Mens
2016-02-24 14:28:37 +01:00
parent bec170e39e
commit 2022ff6ed0
+1 -1
View File
@@ -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;
}