MINOR: Fix StackTraceError validation error - Superset (#18740)

This commit is contained in:
Mayur Singal 2024-11-25 15:01:59 +05:30 committed by ulixius9
parent 093828c0fb
commit a0dea2f90e

View File

@ -201,7 +201,7 @@ class SupersetDBSource(SupersetSourceMixin):
except Exception as exc:
yield Either(
left=StackTraceError(
name=chart_json.id,
name=str(chart_json.id),
error=f"Error yielding Chart [{chart_json.id} - {chart_json.slice_name}]: {exc}",
stackTrace=traceback.format_exc(),
)