debug(fc_writer): add trace logs for GET slots path

This commit is contained in:
Wild Dragon Dev 2026-06-04 01:13:19 +00:00
parent cc489f7774
commit e5abbede43

View file

@ -200,7 +200,9 @@ fc_writer_t *fc_writer_open(const char *fc_url,
/* Already exists, fetch slot details */
char path[256];
snprintf(path, sizeof path, "/slots/%s", slot_id);
fprintf(stderr, "[fc_writer:%s] GET %s\n", slot_id, path);
status = http_request("GET", host, port, path, NULL, resp, sizeof resp);
fprintf(stderr, "[fc_writer:%s] GET status=%d resp=%s\n", slot_id, status, resp);
}
if (status != 200 && status != 201) {