michael-s-molina commented on code in PR #28604:
URL: https://github.com/apache/superset/pull/28604#discussion_r1609883488
##########
superset-frontend/src/components/ErrorBoundary/index.tsx:
##########
@@ -56,6 +58,26 @@ export default class ErrorBoundary extends React.Component<
const messageString = `${t('Unexpected error')}${
firstLine ? `: ${firstLine}` : ''
}`;
+ if (/Loading chunk [\d]+ failed/.test(firstLine)) {
Review Comment:
I think this problem should fixed using a different strategy where we
invalidate cached frontend assets when necessary (ex: when the version changes).
##########
superset-frontend/src/components/ErrorBoundary/index.tsx:
##########
@@ -56,6 +58,26 @@ export default class ErrorBoundary extends React.Component<
const messageString = `${t('Unexpected error')}${
firstLine ? `: ${firstLine}` : ''
}`;
+ if (/Loading chunk [\d]+ failed/.test(firstLine)) {
Review Comment:
I think this problem should be fixed using a different strategy where we
invalidate cached frontend assets when necessary (ex: when the version changes).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]