Skip to content

Commit

Permalink
Rename action
Browse files Browse the repository at this point in the history
  • Loading branch information
fullofcaffeine committed Jul 8, 2022
1 parent f8e14dc commit ee5398a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default class ErrorBoundary extends Component {
componentDidCatch( error ) {
this.setState( { error } );

doAction( 'gb.reportErrorBoundaryException', error );
doAction( 'editor.ErrorBoundary.errorLogged', error );
}

render() {
Expand Down
2 changes: 1 addition & 1 deletion packages/edit-site/src/components/error-boundary/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class ErrorBoundary extends Component {
}

componentDidCatch( error ) {
doAction( 'gb.reportErrorBoundaryException', error );
doAction( 'editor.ErrorBoundary.errorLogged', error );
}

static getDerivedStateFromError( error ) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default class ErrorBoundary extends Component {
componentDidCatch( error ) {
this.setState( { error } );

doAction( 'gb.reportErrorBoundaryException', error );
doAction( 'editor.ErrorBoundary.errorLogged', error );
}

reboot() {
Expand Down
2 changes: 1 addition & 1 deletion packages/editor/src/components/error-boundary/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class ErrorBoundary extends Component {
componentDidCatch( error ) {
this.setState( { error } );

doAction( 'gb.reportErrorBoundaryException', error );
doAction( 'editor.ErrorBoundary.errorLogged', error );
}

reboot() {
Expand Down

0 comments on commit ee5398a

Please sign in to comment.