Skip to content

Commit 1f1f619

Browse files
committed
SLCORE-1311 Ignore lexing errors from SSLR
1 parent ac283a1 commit 1f1f619

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backend/commons/src/main/java/org/sonarsource/sonarlint/core/commons/monitoring/MonitoringService.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ SentryOptions getSentryConfiguration() {
7575
sentryOptions.addInAppInclude("org.sonarsource.sonarlint");
7676
sentryOptions.setTracesSampleRate(getTracesSampleRate());
7777
addCaptureIgnoreRule(sentryOptions, "(?s)com\\.sonar\\.sslr\\.api\\.RecognitionException.*");
78+
addCaptureIgnoreRule(sentryOptions, "(?s)com\\.sonar\\.sslr\\.impl\\.LexerException.*");
7879
sentryOptions.setBeforeSend(MonitoringService::scrubPii);
7980
sentryOptions.setBeforeSendTransaction(MonitoringService::scrubPii);
8081
return sentryOptions;

0 commit comments

Comments
 (0)