File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
apps/dashboard/src/app/(app)/team/[team_slug]/(team)/~/support/_components Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -545,14 +545,13 @@ class FeedbackErrorBoundary extends Component<
545545 }
546546
547547 componentDidCatch ( _error : Error , _errorInfo : { componentStack : string } ) {
548- // Report the error to analytics
549- reportSupportFeedbackFailed ( {
548+ // Report the error to analytics using a boundary-specific event
549+ // that doesn't include potentially misleading feedback metrics
550+ reportErrorBoundaryCatch ( {
550551 ticketId : this . props . ticketId ,
551- rating : 0 , // default value
552- hasFeedback : false , // default value
553- feedbackLength : 0 , // default value
554552 errorMessage : `Error boundary: ${ _error . message } ` ,
555553 errorType : "unknown" ,
554+ componentStack : _errorInfo . componentStack ,
556555 } ) ;
557556 }
558557
You can’t perform that action at this time.
0 commit comments