From ee5398a2f890f609b846ee0551ccdbb343fbb7ed Mon Sep 17 00:00:00 2001 From: Marcelo Serpa <81248+fullofcaffeine@users.noreply.github.com> Date: Fri, 8 Jul 2022 16:22:12 -0500 Subject: [PATCH] Rename action --- .../customize-widgets/src/components/error-boundary/index.js | 2 +- packages/edit-site/src/components/error-boundary/index.js | 2 +- packages/edit-widgets/src/components/error-boundary/index.js | 2 +- packages/editor/src/components/error-boundary/index.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/customize-widgets/src/components/error-boundary/index.js b/packages/customize-widgets/src/components/error-boundary/index.js index d2a057ec254ae2..d1aece49b91736 100644 --- a/packages/customize-widgets/src/components/error-boundary/index.js +++ b/packages/customize-widgets/src/components/error-boundary/index.js @@ -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() { diff --git a/packages/edit-site/src/components/error-boundary/index.js b/packages/edit-site/src/components/error-boundary/index.js index 82c28452516b2a..9e07afafd04a4e 100644 --- a/packages/edit-site/src/components/error-boundary/index.js +++ b/packages/edit-site/src/components/error-boundary/index.js @@ -22,7 +22,7 @@ export default class ErrorBoundary extends Component { } componentDidCatch( error ) { - doAction( 'gb.reportErrorBoundaryException', error ); + doAction( 'editor.ErrorBoundary.errorLogged', error ); } static getDerivedStateFromError( error ) { diff --git a/packages/edit-widgets/src/components/error-boundary/index.js b/packages/edit-widgets/src/components/error-boundary/index.js index 1399a85cd9cd6e..8b941630b347c0 100644 --- a/packages/edit-widgets/src/components/error-boundary/index.js +++ b/packages/edit-widgets/src/components/error-boundary/index.js @@ -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() { diff --git a/packages/editor/src/components/error-boundary/index.js b/packages/editor/src/components/error-boundary/index.js index 85bd6abbacb0a2..72e6a7680421f3 100644 --- a/packages/editor/src/components/error-boundary/index.js +++ b/packages/editor/src/components/error-boundary/index.js @@ -38,7 +38,7 @@ class ErrorBoundary extends Component { componentDidCatch( error ) { this.setState( { error } ); - doAction( 'gb.reportErrorBoundaryException', error ); + doAction( 'editor.ErrorBoundary.errorLogged', error ); } reboot() {