From 38c25b670d1ea5b0e6a21b0296a0b706e8487309 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Wed, 17 Jun 2020 23:49:28 -0500 Subject: [PATCH] Add headers into sendRequest debug message --- src/nimcordutils.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nimcordutils.nim b/src/nimcordutils.nim index afd892e..2e3b9c4 100644 --- a/src/nimcordutils.nim +++ b/src/nimcordutils.nim @@ -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)