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 2019/09/05 05:13:22 UTC

[GitHub] [incubator-superset] etr2460 commented on a change in pull request #8164: [sqllab] More detailed async error messages for sqllab

etr2460 commented on a change in pull request #8164: [sqllab] More detailed async error messages for sqllab
URL: https://github.com/apache/incubator-superset/pull/8164#discussion_r321076431
 
 

 ##########
 File path: superset/db_engine_specs/hive.py
 ##########
 @@ -200,7 +200,7 @@ def extract_error_message(cls, e):
         match = re.search(r'errorMessage="(.*?)(?<!\\)"', msg)
         if match:
             msg = match.group(1)
-        return msg
+        return f"Hive error: {msg}"
 
 Review comment:
   I was thinking a similar thing, having each place that returns an error go through an error formatting function that prepends the engine

----------------------------------------------------------------
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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org