fix: change status code for generic errors to 400 (#13868)

* change status code for generic errors to 422

* Update exceptions.py
This commit is contained in:
Hugh A. Miles II
2021-03-31 04:19:15 -04:00
committed by GitHub
parent 9d6832dc27
commit d54cc6d82a

View File

@@ -59,7 +59,7 @@ class SupersetTimeoutException(SupersetErrorException):
class SupersetGenericDBErrorException(SupersetErrorException):
status = 500
status = 400
def __init__(
self,