We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f04d66 commit a4f44d5Copy full SHA for a4f44d5
1 file changed
openmetadata-airflow-apis/openmetadata_managed_apis/workflows/ingestion/common.py
@@ -171,11 +171,7 @@ def build_source(ingestion_pipeline: IngestionPipeline) -> WorkflowSource:
171
except (ValidationError, InvalidWorkflowException) as scoped_error:
172
if isinstance(scoped_error, ValidationError):
173
# Let's catch validations of internal Workflow models, not the Workflow itself
174
- object_error = (
175
- scoped_error.model.__name__
176
- if scoped_error.model is not None
177
- else "workflow"
178
- )
+ object_error = getattr(scoped_error, "title", None) or "workflow"
179
raise ParsingConfigurationError(
180
f"We encountered an error parsing the configuration of your {object_error}.\n"
181
f"{parse_validation_err(scoped_error)}"
0 commit comments