ErrorBoundary: Move boundary type to context (#112167)

Move boundary type to context
This commit is contained in:
Tobias Skarhed
2025-10-08 13:01:02 +00:00
committed by GitHub
parent acbbfde256
commit fcdfc86561
@@ -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',
},
});