Skip to content

Use defined HTTP errors in WebHookService

Markus Koller requested to merge tweak-webhook-service-exceptions into master

What does this MR do?

This is a simple refactoring to reuse the list of exceptions defined in Gitlab::HTTP::HTTP_ERRORS.

(see https://gitlab.com/gitlab-org/gitlab/blob/ae3d250a369cc4d7d37f79e3f6fbd92f9252aad3/lib/gitlab/http.rb#L12-19)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Merge request reports

Loading