[dashboard] feat: REST API (#8694)

This commit is contained in:
Daniel Vaz Gaspar
2019-12-16 21:10:33 +00:00
committed by GitHub
parent 1719c4b5a3
commit 2f2ac00a09
13 changed files with 1029 additions and 259 deletions

View File

@@ -536,7 +536,8 @@ def validate_json(obj):
if obj:
try:
json.loads(obj)
except Exception:
except Exception as e:
logging.error(f"JSON is not valid {e}")
raise SupersetException("JSON is not valid")