Skip to content

Adds Sentry debugging in console during development

What does this MR do and why?

This change adds console calls to Sentry when it is not configured during in local development so Sentry reports are made visible.

Screenshots or screen recordings

Most folks wont ever enable Sentry locally, this change helps by surfacing errors that would get reported to Sentry in the console.

image

How to set up and validate locally

  1. On your GDK or local environment
  2. Report an error to Sentry using https://docs.gitlab.com/ee/development/fe_guide/sentry.html#error-reporting
  3. Check you browser console and confirm the error appears listed

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #339335 (closed)

Edited by Miguel Rincon

Merge request reports