mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
chore: change AlertQueryError to 400 (#23102)
This commit is contained in:
parent
75495d1601
commit
7160daecf3
@ -215,6 +215,11 @@ class AlertQueryInvalidTypeError(CommandException):
|
||||
|
||||
|
||||
class AlertQueryError(CommandException):
|
||||
"""
|
||||
SQL query is not valid
|
||||
"""
|
||||
|
||||
status = 400
|
||||
message = _("Alert found an error while executing a query.")
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user