diff --git a/backend/core/pom.xml b/backend/core/pom.xml
index f9e7fcce0f..ee6fba3847 100644
--- a/backend/core/pom.xml
+++ b/backend/core/pom.xml
@@ -153,6 +153,11 @@
logback-classic
test
+
+ io.sentry
+ sentry
+ 7.16.0
+
diff --git a/backend/core/src/main/java/org/sonarsource/sonarlint/core/analysis/AnalysisService.java b/backend/core/src/main/java/org/sonarsource/sonarlint/core/analysis/AnalysisService.java
index 30341268c3..0ebe4557bf 100644
--- a/backend/core/src/main/java/org/sonarsource/sonarlint/core/analysis/AnalysisService.java
+++ b/backend/core/src/main/java/org/sonarsource/sonarlint/core/analysis/AnalysisService.java
@@ -20,6 +20,7 @@
package org.sonarsource.sonarlint.core.analysis;
import com.google.common.util.concurrent.MoreExecutors;
+import io.sentry.Sentry;
import java.net.URI;
import java.nio.file.FileSystemNotFoundException;
import java.nio.file.Files;
@@ -632,6 +633,9 @@ public boolean shouldUseEnterpriseCSharpAnalyzer(String configurationScopeId) {
public CompletableFuture analyze(SonarLintCancelMonitor cancelMonitor, String configurationScopeId, UUID analysisId, List filePathsToAnalyze,
Map extraProperties, long startTime, boolean enableTracking, boolean shouldFetchServerIssues, boolean hotspotsOnly) {
+ LOG.info("Sending Sentry message");
+ Sentry.init("https://ad1c1fe3cb2b12fc2d191ecd25f89866@o1316750.ingest.us.sentry.io/4508201175089152");
+ Sentry.captureException(new Exception("Test Error From SLCore"));
var analysisEngine = engineCache.getOrCreateAnalysisEngine(configurationScopeId);
var analysisConfig = getAnalysisConfigForEngine(configurationScopeId, filePathsToAnalyze, extraProperties, hotspotsOnly);