Skip to content

Commit

Permalink
fix: prevent errors from stopping the processes
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfenrain committed Nov 22, 2023
1 parent 9a58079 commit 5fa58e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate-changelog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 5fa58e0

Please sign in to comment.