Skip to content

Commit 6f71777

Browse files
committed
Testing fix
1 parent d93bc9d commit 6f71777

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/task/src/repos/gitHubReposInvoker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ export default class GitHubReposInvoker extends BaseReposInvoker {
197197
error instanceof RequestError &&
198198
(error.status as StatusCodes) ===
199199
StatusCodes.UNPROCESSABLE_ENTITY &&
200-
error.message.includes("is too big")
200+
(error.message.includes("is too big") || error.message.includes("diff is too large"))
201201
) {
202202
this._logger.logInfo(
203203
"GitHub createReviewComment() threw a 422 error related to a large diff. Ignoring as this is expected.",

0 commit comments

Comments
 (0)