Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: profanis <[email protected]>
Co-authored-by: Artur <[email protected]>
  • Loading branch information
3 people authored Nov 28, 2024
1 parent cb82163 commit e198097
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/recipes/integration-with-sentry.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ export const appConfig: ApplicationConfig = {

Now, let's go over how to log NGXS actions as breadcrumbs.
Create a service `NgxsSentryBreadcrumbsService`.
This service uses NGXS `Actions` dependendecy to listen to all events and send them to Sentry using `Sentry.addBreadcrumb`.
This service uses NGXS `Actions` dependency to listen to all events and send them to Sentry using `Sentry.addBreadcrumb`.

```ts
@Injectable()
@Injectable({providedIn:root})
export class NgxsSentryBreadcrumbsService implements OnDestroy {
#actions = inject(Actions);
#destroyed$ = new Subject<void>();
Expand Down

0 comments on commit e198097

Please sign in to comment.