debug(fc_writer): add trace logs for GET slots path
This commit is contained in:
parent
cc489f7774
commit
e5abbede43
1 changed files with 2 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue