Update errorboundry.jsx

pull/4571/head
shamoon 2 weeks ago
parent 6a0fbba407
commit fd50241e2a
No known key found for this signature in database

@ -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
if (error || errorInfo) {
// eslint-disable-next-line no-console // eslint-disable-next-line no-console
console.error(error, errorInfo); console.error("component error: %s, info: %s", error, errorInfo);
}
} }
render() { render() {

Loading…
Cancel
Save