From 32470e948187059a8541c783d3895fe9ddb1e0c5 Mon Sep 17 00:00:00 2001 From: eric sciple Date: Tue, 10 Dec 2019 02:07:58 -0500 Subject: . --- src/github-api-helper.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/github-api-helper.ts') diff --git a/src/github-api-helper.ts b/src/github-api-helper.ts index 8720656..3407c25 100644 --- a/src/github-api-helper.ts +++ b/src/github-api-helper.ts @@ -52,7 +52,8 @@ export async function downloadRepository( } const response = await octokit.repos.getArchiveLink(params) console.log('GOT THE RESPONSE') - console.log(response.status) + console.log(`status=${response.status}`) + console.log(`headers=${JSON.stringify(response.headers)}`) if (response.status != 200) { throw new Error( `Unexpected response from GitHub API. Status: '${response.status}'` -- cgit v1.2.3