Added new exception class and start of better exception/error handling (#4514)

* rebase and linting

* change back

* wip

* fixed broken test

* fix flake8

* fix test
This commit is contained in:
Hugh A. Miles II
2018-03-11 22:07:51 -07:00
committed by Maxime Beauchemin
parent ff41f40721
commit 2bc089ef8d
8 changed files with 46 additions and 30 deletions

View File

@@ -12,11 +12,11 @@ import uuid
from mock import patch
import numpy
from superset.exceptions import SupersetException
from superset.utils import (
base_json_conv, datetime_f, json_int_dttm_ser, json_iso_dttm_ser,
JSONEncodedDict, memoized, merge_extra_filters, merge_request_params,
parse_human_timedelta,
SupersetException, validate_json, zlib_compress, zlib_decompress_to_string,
parse_human_timedelta, validate_json, zlib_compress, zlib_decompress_to_string,
)