Skip to content

Commit bae377c

Browse files
authored
Add extra log for failed type check (#368)
1 parent 65d1632 commit bae377c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/merge.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,7 @@ export async function performMergeAction(
423423
"id" in response.repository.pullRequest &&
424424
response.repository.pullRequest.id;
425425
if (typeof pullRequestId !== "number") {
426+
console.error("non-numeric pull request id", JSON.stringify(response));
426427
throw new Error("non-numeric pull request id");
427428
}
428429

0 commit comments

Comments
 (0)