Add headers into sendRequest debug message

This commit is contained in:
SeanOMik 2020-06-17 23:49:28 -05:00
parent 4d29ea5a47
commit 38c25b670d
No known key found for this signature in database
GPG Key ID: FA4D55AC05268A88
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ proc sendRequest*(endpoint: string, httpMethod: HttpMethod, headers: HttpHeaders
strPayload = ""
else:
strPayload = $jsonBody
echo "Sending ", httpMethod, " request, URL: ", endpoint, ", body: ", strPayload
echo "Sending ", httpMethod, " request, URL: ", endpoint, ", headers: ", $headers, " body: ", strPayload
waitForRateLimits(objectID, bucketType)
let response = client.request(endpoint, httpMethod, strPayload)