mistercrunch commented on code in PR #29330:
URL: https://github.com/apache/superset/pull/29330#discussion_r1670905146


##########
superset/utils/core.py:
##########
@@ -432,7 +432,7 @@ def error_msg_from_exception(ex: Exception) -> str:
             msg = ex.message.get("message")  # type: ignore
         elif ex.message:
             msg = ex.message
-    return msg or str(ex)
+    return str(msg) or str(ex)

Review Comment:
   I'm a bit afraid to touch it, I'll merge this and do a follow up to keep 
improving error handling.



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

Reply via email to