diff --git a/generate-changelog.ts b/generate-changelog.ts index adb8fa5..2477766 100644 --- a/generate-changelog.ts +++ b/generate-changelog.ts @@ -73,7 +73,7 @@ async function getMorePullRequests(org: string, repo: Repo, page: number = 1): P }); if (response.status != 200) { - console.error(`[ERROR] GET ${url} (${response.status})`); + console.error(`[ERROR] GET ${url} (${response.status}): ${await response.json()}`); return pullRequests; }