-
Notifications
You must be signed in to change notification settings - Fork 231
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Return error code 401 for auth errors in webhooks Return error code 401 instead of 500 when the error is related to the secret or any kind of authentication. It also adds tests for checking the basic error handling code and a full test for github that tests bad secrets and right secrets (checking also that the commit being updated is as expected) Signed-off-by: Xavi Garcia <[email protected]> Co-authored-by: Xavi Garcia <[email protected]>
- Loading branch information
Showing
2 changed files
with
233 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters