We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce7e48a commit 7ee7500Copy full SHA for 7ee7500
1 file changed
src/requests.ts
@@ -27,7 +27,7 @@ export async function post(
27
if (logStuff) {
28
logger.info(` posted to ${apiPath}`);
29
logger.info(` statusCode: ${response.statusCode}`);
30
- logger.info(` headers: ${response.headers}`);
+ logger.info(` headers: ${JSON.stringify(response.headers)}`);
31
// it's text because text accepts both json and plain text, while json only supports json
32
logger.info(` data: ${await response.text()}`);
33
}
0 commit comments