trace error in layout
This commit is contained in:
parent
fcefb69790
commit
adf5fb31d1
@ -71,6 +71,7 @@ const ErrorBoundary = withRouter(
|
||||
}
|
||||
|
||||
public componentDidCatch(error: Error, errorInfo: ErrorInfo) {
|
||||
console.trace("ddd");
|
||||
logger.error(error, errorInfo.componentStack);
|
||||
if (blitzErrors.some((blitzError) => error instanceof blitzError)) {
|
||||
// let Blitz ErrorBoundary handle this one
|
||||
|
Loading…
Reference in New Issue
Block a user