We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3175c20 commit 0410f58Copy full SHA for 0410f58
src/platform-includes/configuration/before-send-transaction/go.mdx
@@ -5,7 +5,7 @@ sentry.Init(sentry.ClientOptions{
5
Dsn: "___PUBLIC_DSN___",
6
// Called for transaction events
7
BeforeSendTransaction: func(event *sentry.Event, hint *sentry.EventHint) *sentry.Event {
8
- if strings.Contains(event.Message, "test-transaction") {
+ if event.Message == "test-transaction" {
9
// Don't send the transaction to Sentry
10
return nil
11
}
0 commit comments