Skip to content

Commit

Permalink
add 'idp' tag to Sentry config
Browse files Browse the repository at this point in the history
  • Loading branch information
briskt committed Dec 11, 2024
1 parent d1b7136 commit f9983c7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions application/common/config/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@
'Sil\EmailService\Client\EmailServiceClientException',
],
'context' => true,
'tagCallback' => function ($tags) use ($idpName): array {
$tags['idp'] = $idpName;
return $tags;
},
// Additional options for `Sentry\init`
// https://docs.sentry.io/platforms/php/configuration/options
'clientOptions' => [
Expand Down

0 comments on commit f9983c7

Please sign in to comment.