Closed Chocrates closed 4 years ago
https://github.com/froi/add_invite_user/blob/master/src/main.js#L126
Looks like after the issue gets the error comment, it will fall out of the catch block and continue executing the success steps.
I think we need to add the throw clause like is done in the rate limit section https://github.com/froi/add_invite_user/blob/master/src/main.js#L109
It was missed in the unit tests, and I am unsure how to trigger this type of error in integration tests ðŸ˜
https://github.com/froi/add_invite_user/blob/master/src/main.js#L126
Looks like after the issue gets the error comment, it will fall out of the catch block and continue executing the success steps.
I think we need to add the throw clause like is done in the rate limit section https://github.com/froi/add_invite_user/blob/master/src/main.js#L109
It was missed in the unit tests, and I am unsure how to trigger this type of error in integration tests ðŸ˜