Skip to content

Commit

Permalink
Update index.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
  • Loading branch information
EnxDev and michael-s-molina committed Mar 21, 2024
1 parent a92f332 commit d7038d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset-frontend/src/components/ErrorBoundary/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}` : ''

Check failure on line 56 in superset-frontend/src/components/ErrorBoundary/index.tsx

View workflow job for this annotation

GitHub Actions / frontend-build

Insert `⏎········`
Expand Down

0 comments on commit d7038d9

Please sign in to comment.