Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gracefully handle the collaborator missing error #88

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

samirsilwal
Copy link

@samirsilwal samirsilwal commented Oct 13, 2024

Changes

  • Wrap the collaborator review request API call with try catch
  • Just log the error instead of failing the action status
  • It creates the PR despite before but the action run status is set to error which is a bit annoying. So, error info is shown instead which gives info about the handling

Test

  • Messages shown when error

Before

https://github.com/samirsilwal/sync-branches/actions/runs/11310223756/job/31455026490

After

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant