From 7ad0e4709c5628a8d9b7d49dbfe8745da4e8b5f9 Mon Sep 17 00:00:00 2001 From: Arnaud Date: Mon, 14 Oct 2024 18:43:17 +0200 Subject: [PATCH] Ignore Sentry on CI --- src/main.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.tsx b/src/main.tsx index fa8679e..3e88972 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -15,7 +15,7 @@ import * as Sentry from "@sentry/react"; import { CodexSdk } from "./sdk/codex"; import { ErrorPlaceholder } from "./components/ErrorPlaceholder/ErrorPlaceholder.tsx"; -if (import.meta.env.PROD) { +if (import.meta.env.PROD && !import.meta.env.CI) { Sentry.init({ release: "codex-storage-marketplace-ui@" + import.meta.env.PACKAGE_VERSION, dsn: "https://22d77c59a27b8d5efc07132188b505b9@o4507855852011520.ingest.de.sentry.io/4507866758512720",