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:
parent
9d6832dc27
commit
d54cc6d82a
|
|
@ -59,7 +59,7 @@ class SupersetTimeoutException(SupersetErrorException):
|
|||
|
||||
|
||||
class SupersetGenericDBErrorException(SupersetErrorException):
|
||||
status = 500
|
||||
status = 400
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
|
|
|
|||
Loading…
Reference in New Issue