sync-branches icon indicating copy to clipboard operation
sync-branches copied to clipboard

Gracefully handle the collaborator missing error

Open samirsilwal opened this issue 1 year ago • 0 comments

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

samirsilwal avatar Oct 13 '24 02:10 samirsilwal