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/04/16 17:02:11 UTC
[GitHub] [superset] hughhhh commented on a change in pull request #14172: feat: error messages for Presto connections
hughhhh commented on a change in pull request #14172:
URL: https://github.com/apache/superset/pull/14172#discussion_r614998497
##########
File path: superset/databases/commands/exceptions.py
##########
@@ -130,7 +130,8 @@ class DatabaseTestConnectionDriverError(CommandInvalidError):
message = _("Could not load database driver")
-class DatabaseTestConnectionUnexpectedError(CommandInvalidError):
+class DatabaseTestConnectionUnexpectedError(SupersetErrorsException):
+ status = 422
Review comment:
https://httpstatuses.com is good too
--
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