From a6e7d3325a4b8cc703352e21a22f52d8f410d32f Mon Sep 17 00:00:00 2001 From: Costa Tsaousis Date: Fri, 17 Jan 2025 12:14:07 +0200 Subject: [PATCH] log incorrect status information in stream info parsing --- src/streaming/stream-parents.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/streaming/stream-parents.c b/src/streaming/stream-parents.c index d8981e23af5500..7a31b60f6d0519 100644 --- a/src/streaming/stream-parents.c +++ b/src/streaming/stream-parents.c @@ -342,12 +342,15 @@ static bool stream_info_json_parse_v1(struct json_object *jobj, const char *path return true; } + buffer_sprintf(error, "status reported (%d) is not OK (%d)", d->remote.status, HTTP_RESP_OK); + d->remote.db_first_time_s = 0; d->remote.db_last_time_s = 0; d->remote.db_status = 0; d->remote.db_liveness = 0; d->remote.ingest_type = 0; d->remote.ingest_status = 0; + return false; }