mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore(pylint): Reenable raise-missing-from check (#16266)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
This commit is contained in:
@@ -50,5 +50,5 @@ def validate_json(value: Union[bytes, bytearray, str]) -> None:
|
||||
"""
|
||||
try:
|
||||
utils.validate_json(value)
|
||||
except SupersetException:
|
||||
raise ValidationError("JSON not valid")
|
||||
except SupersetException as ex:
|
||||
raise ValidationError("JSON not valid") from ex
|
||||
|
||||
Reference in New Issue
Block a user