Skip to content

Improve error messages for Error Tracking settings form

What does this MR do?

Add validation for api_url path to ensure that it is in the form: /api/0/projects/{sentry_organization_slug}/{sentry_project_slug}/ so that the full api_url is of the form: scheme://<sentry-host>/api/0/projects/{sentry_organization_slug}/{sentry_project_slug}/.

The host part of the URL is already being validated by the url_validator.

Also, improve the wording of the error messages.

improved_sentry_error_message1

improved_sentry_error_message2

What are the relevant issue numbers?

https://gitlab.com/gitlab-org/gitlab-ce/issues/57358

Does this MR meet the acceptance criteria?

Edited by Reuben Pereira

Merge request reports