fix: construct SupersetErrors properly (#9799)

* fix: construct SupersetErrors properly

* Update viz_sip38.py
This commit is contained in:
Erik Ritter 2020-05-13 14:03:42 -07:00 committed by GitHub
parent 45c8fcfd92
commit cf30e16550
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -507,7 +507,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)