chore: change AlertQueryError to 400 (#23102)

This commit is contained in:
Elizabeth Thompson 2023-02-16 16:31:16 -08:00 committed by GitHub
parent 75495d1601
commit 7160daecf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.")