fix: construct SupersetErrors properly (#9799)
* fix: construct SupersetErrors properly * Update viz_sip38.py
This commit is contained in:
parent
45c8fcfd92
commit
cf30e16550
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue