fbshipit-source-id: 5d9ecf33fca19e4a6b8c979b879ec9dd82af1ef9
This commit is contained in:
@@ -44,7 +44,7 @@ export default class ErrorBoundary extends Component<
|
||||
|
||||
componentDidCatch(err: Error) {
|
||||
this.props.logger &&
|
||||
this.props.logger.error(err.toString(), 'ErrorBoundary');
|
||||
console.error(err.toString(), 'ErrorBoundary');
|
||||
this.setState({error: err});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user