Skip to content

Commit

Permalink
feat: 에러 표시 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Tekiter committed Nov 17, 2023
1 parent 9b89f89 commit 20cfadd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/actions/randomReviewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const getCurrentReviewers = async () => {
});

if (!response.ok) {
console.error(await response.text());
throw new Error('기존 PR의 reviewer 읽어오는데 실패했어요.');
}

Expand All @@ -39,6 +40,7 @@ const setReviewers = async (reviewers) => {
});

if (!response.ok) {
console.error(await response.text());
throw new Error('리뷰어를 선정하는데 실패했어요.');
}
};
Expand Down

0 comments on commit 20cfadd

Please sign in to comment.