You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/06/15 00:58:50 UTC
[GitHub] [superset] betodealmeida commented on a change in pull request #15158: feat: show rich error messages on past failed queries
betodealmeida commented on a change in pull request #15158:
URL: https://github.com/apache/superset/pull/15158#discussion_r651372274
##########
File path: superset-frontend/src/SqlLab/components/SouthPane/SouthPane.tsx
##########
@@ -118,6 +118,9 @@ export default function SouthPane({
}
let results;
if (latestQuery) {
+ if (latestQuery?.extra?.errors) {
+ latestQuery.errors = latestQuery.extra.errors;
+ }
Review comment:
This is all that's needed to show the rich error messages in the FE.
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org