Skip to content

Commit

Permalink
Merge pull request #44 from halles/bugfix-replace-data-deprecated
Browse files Browse the repository at this point in the history
Uses `true` when adding user data to the error reporting.
  • Loading branch information
phptek committed Jan 30, 2020
2 parents 47ea652 + 7a1e5af commit 14da436
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Adaptor/SentryAdaptor.php
Expand Up @@ -87,7 +87,7 @@ public function setContext(string $field, $data) : void
break;
case 'user':
Hub::getCurrent()->configureScope(function (Scope $scope) use($data) : void {
$scope->setUser($data);
$scope->setUser($data, true);
$this->context['user'] = $data;
});
break;
Expand Down

0 comments on commit 14da436

Please sign in to comment.