michael-s-molina commented on code in PR #28604:
URL: https://github.com/apache/superset/pull/28604#discussion_r1609859847
##########
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 don't think this is correct because not all chunk errors are the result of
outdated frontend assets. In other words, when we get an chunk error that does
not mean that `'A new version released. Need to reload the page to apply
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]