Skip to content

Commit 6bd89e8

Browse files
authored
fix: stop double-counting unhandled_event in github webhook handler
it's handled here https://github.com/codecov/codecov-api/blob/ca253c138ce000c16126f7b3693a7bbd90ce1086/webhook_handlers/views/github.py#L736
1 parent ca253c1 commit 6bd89e8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

webhook_handlers/views/github.py

-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ def validate_signature(self, request):
100100
raise PermissionDenied()
101101

102102
def unhandled_webhook_event(self, request, *args, **kwargs):
103-
self._inc_err("unhandled_event")
104103
return Response(data=WebhookHandlerErrorMessages.UNSUPPORTED_EVENT)
105104

106105
def _get_repo(self, request):

0 commit comments

Comments
 (0)