Skip to content

Commit

Permalink
log incorrect status information in stream info parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
ktsaou committed Jan 17, 2025
1 parent c48b8d4 commit a6e7d33
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/streaming/stream-parents.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit a6e7d33

Please sign in to comment.