From adf5fb31d1db41fed7bc8f4bff1af1307ef0ae13 Mon Sep 17 00:00:00 2001 From: m5r Date: Wed, 4 Aug 2021 13:49:45 +0800 Subject: [PATCH] trace error in layout --- app/core/layouts/layout/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/app/core/layouts/layout/index.tsx b/app/core/layouts/layout/index.tsx index 1132349..d692eb5 100644 --- a/app/core/layouts/layout/index.tsx +++ b/app/core/layouts/layout/index.tsx @@ -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