This is an automated email from the ASF dual-hosted git repository. erikrit pushed a commit to branch etr2460--superset-error-type in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
commit 8ea37eaabbe5c78ce23e724d948c7852be6b1e54 Author: Erik Ritter <[email protected]> AuthorDate: Wed May 13 13:53:46 2020 -0700 fix: construct SupersetErrors properly --- superset/viz.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset/viz.py b/superset/viz.py index becb32c..0ed3e30 100644 --- a/superset/viz.py +++ b/superset/viz.py @@ -467,7 +467,7 @@ class BaseViz: SupersetError( message=str(ex), level=ErrorLevel.ERROR, - type=SupersetErrorType.VIZ_GET_DF_ERROR, + error_type=SupersetErrorType.VIZ_GET_DF_ERROR, ) ) self.errors.append(error)
