Skip to content

Commit

Permalink
Fix symfony code sample for before_send_transaction (#7467)
Browse files Browse the repository at this point in the history
Fixes #7466
  • Loading branch information
gndk committed Jul 19, 2023
1 parent a31507b commit 96d8600
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ In the Symfony config, a service can be used to modify the event or return a com
```yaml {filename:config/packages/sentry.yaml}
sentry:
options:
before_send: 'sentry.callback.before_send_transaction'
before_send_transaction: 'sentry.callback.before_send_transaction'

services:
sentry.callback.before_send:
sentry.callback.before_send_transaction:
class: 'App\Service\Sentry'
factory: [ '@App\Service\Sentry', 'getBeforeSendTransaction' ]
```
Expand Down

1 comment on commit 96d8600

@vercel
Copy link

@vercel vercel bot commented on 96d8600 Jul 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

sentry-docs – ./

sentry-docs-git-master.sentry.dev
docs.sentry.io
sentry-docs.sentry.dev

Please sign in to comment.