|
|
@ -14,8 +14,10 @@ export default class ErrorBoundary extends React.Component {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
// You can also log error messages to an error reporting service here
|
|
|
|
// You can also log error messages to an error reporting service here
|
|
|
|
// eslint-disable-next-line no-console
|
|
|
|
if (error || errorInfo) {
|
|
|
|
console.error(error, errorInfo);
|
|
|
|
// eslint-disable-next-line no-console
|
|
|
|
|
|
|
|
console.error("component error: %s, info: %s", error, errorInfo);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
render() {
|
|
|
|
render() {
|
|
|
|