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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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