You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(angular): Fall back to element tagName when name is not provided to TraceDirective (#14778)
The `trace` directive should typically be declared on components to
validly trace the lifecycle (from `ngOnInit` to `ngAfterViewInit`, when
child views are also rendered). If `trace` is mistakenly not provided,
we fall back to `tagName` instead of "unknown component".
---------
Co-authored-by: Lukas Stracke <lukas.stracke@sentry.io>
Copy file name to clipboardExpand all lines: dev-packages/e2e-tests/test-applications/angular-17/src/app/component-tracking/component-tracking.components.ts
+4-1
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,10 @@ import { SampleComponent } from '../sample-component/sample-component.components
Copy file name to clipboardExpand all lines: dev-packages/e2e-tests/test-applications/angular-19/src/app/component-tracking/component-tracking.components.ts
0 commit comments