Skip to content

Add Gitlab::HTTP::BlockedUrlError to rescued

Jarka Košanová requested to merge jira-test-fix into master

What does this MR do?

We rescue most of errors raised for bad requests in JiraService. We, however, don't rescue Gitlab::HTTP::BlockedUrlError. This causes an issue on Jira importer - if a jira service URL is completely wrong, 500 error is displayed instead of information that the service needs to be configured.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Merge request reports

Loading