Skip to content

Gracefully handle the collaborator missing error#88

Open
samirsilwal wants to merge 1 commit intoTreTuna:mainfrom
samirsilwal:feat/handle-collab-error
Open

Gracefully handle the collaborator missing error#88
samirsilwal wants to merge 1 commit intoTreTuna:mainfrom
samirsilwal:feat/handle-collab-error

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.

2 participants

Comments