Skip to content

Commit

Permalink
catch error
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcuts committed Apr 29, 2022
1 parent ce581b9 commit 798dde9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/release/create-release-issue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,11 @@ async function createReleaseIssue(): Promise<void> {
console.log('');
console.log(`Release issue #${number} is ready for review.`);
console.log(` > ${url}`);
})
.catch((error) => {
console.log('Unable to create the release issue');

throw new Error(error);
});
}

Expand Down

0 comments on commit 798dde9

Please sign in to comment.