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