Desarrollé una aplicación react@16.14.0 y quiero registrar cada error de solicitud HTTP en Sentry. Leo la documentación de Sentry y uso la función captureException de Sentry en el bloque all catch de mis solicitudes HTTP.
. . . try { await Api.retryConfirmationEmail(response); // This is a HTTP request } catch (err) { Sentry.captureException(err); } . . .Y esta es la configuración de Sentry:
import * as Sentry from "@sentry/react"; import { Integrations } from "@sentry/tracing"; const init = () => { Sentry.init({ dsn: *******, integrations: [new Integrations.BrowserTracing()], tracesSampleRate: 1.0, }); };¿Por qué el error de solicitud HTTP no inicia sesión en Sentry?