From d7038d9625f8b23fb5ea75c358df499fbe8b2080 Mon Sep 17 00:00:00 2001 From: Enzo Martellucci <52219496+EnxDev@users.noreply.github.com> Date: Fri, 16 Feb 2024 20:23:25 +0100 Subject: [PATCH] Update index.tsx Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> --- superset-frontend/src/components/ErrorBoundary/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset-frontend/src/components/ErrorBoundary/index.tsx b/superset-frontend/src/components/ErrorBoundary/index.tsx index f500807ab26a0..b378d2a9fc18e 100644 --- a/superset-frontend/src/components/ErrorBoundary/index.tsx +++ b/superset-frontend/src/components/ErrorBoundary/index.tsx @@ -50,7 +50,7 @@ export default class ErrorBoundary extends React.Component< } render() { - const { error } = this.state; + const { error, info } = this.state; if (error) { const firstLine = error.toString(); const messageString = `${t('Unexpected error')}${firstLine ? `: ${firstLine}` : ''