|
|
@ -15,6 +15,7 @@ class ErrorBoundary extends PureComponent {
|
|
|
|
componentDidCatch(error, info) {
|
|
|
|
componentDidCatch(error, info) {
|
|
|
|
console.error('Sorry, Something went wrong.')
|
|
|
|
console.error('Sorry, Something went wrong.')
|
|
|
|
console.error(error)
|
|
|
|
console.error(error)
|
|
|
|
|
|
|
|
window.$pageSpy.triggerPlugins('onOfflineLog', 'upload');
|
|
|
|
this.setState({ hasError: true, info: error.message })
|
|
|
|
this.setState({ hasError: true, info: error.message })
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|