ErrorBoundary: Move boundary type to context (#112167)

Move boundary type to context
This commit is contained in:
Tobias Skarhed 2025-10-08 15:01:02 +02:00 committed by GitHub
parent acbbfde256
commit fcdfc86561
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -44,8 +44,8 @@ export class ErrorBoundary extends PureComponent<Props, State> {
this.props.errorLogger(error);
} else {
faro?.api?.pushError(error, {
type: 'boundary',
context: {
type: 'boundary',
source: this.props.boundaryName ?? 'unknown',
},
});