Commit 941d8e79 authored by Hubert Boma Manilla's avatar Hubert Boma Manilla
Browse files

Bug 1733557 - [devtools] Remove componentDidCatch in PrimaryPanesComponent r=nchevobbe

This removes  the componentDidCatch in the PriamryPanes Component which swallows errors
of its child components.
As we have the AppErrorBoundary Component now, all debbuger errors show bubble all the way up.

Differential Revision: https://phabricator.services.mozilla.com/D127247
parent 1b90388e
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -33,10 +33,6 @@ class PrimaryPanes extends Component {
    };
  }

  componentDidCatch(error) {
    console.log(error);
  }

  showPane = selectedPane => {
    this.props.setPrimaryPaneTab(selectedPane);
  };