Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Commit

Permalink
fix(Tinebase): use setTag instead of setContext
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Feitl committed Sep 8, 2021
1 parent a0b0f20 commit 52d0579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tine20/Tinebase/Core.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ public static function dispatchRequest()
Tinebase_Log_Formatter::setTransactionId(substr($transactionId, 0, 5));
if (Tinebase_Core::isRegistered('SENTRY')) {
Sentry\configureScope(function (\Sentry\State\Scope $scope) use ($transactionId): void {
$scope->setContext('transaction_id', $transactionId);
$scope->setTag('transaction_id', $transactionId);
});
}
}
Expand Down

0 comments on commit 52d0579

Please sign in to comment.