Skip to content

Commit 8c058c1

Browse files
chore: Tweak error message for $ref resolution failures
1 parent 3820e3b commit 8c058c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

singer_sdk/schema/source.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ def fetch_schema(self, key: str) -> dict[str, t.Any]:
229229
resolved_schema = resolve_schema_references(schema)
230230
return resolved_schema.get("components", {}).get("schemas", {}).get(key, {}) # type: ignore[no-any-return]
231231
except PointerToNowhere as e:
232-
msg = f"Schema component '{key}' not found"
232+
msg = f"Failed to resolve schema references for '{key}'"
233233
raise SchemaNotFoundError(msg) from e
234234

235235

0 commit comments

Comments
 (0)