mirror of
https://github.com/apache/superset.git
synced 2026-04-07 18:35:15 +00:00
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:
@@ -59,7 +59,7 @@ class SupersetTimeoutException(SupersetErrorException):
|
||||
|
||||
|
||||
class SupersetGenericDBErrorException(SupersetErrorException):
|
||||
status = 500
|
||||
status = 400
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user