Fixes: Snowflake Tags Ingestion (#23040)

* fix: snowflake tag ingestion error handling

* fix: python checkstyle

(cherry picked from commit 697b318f75ef630907abc2dece428ec67383ab53)
This commit is contained in:
Keshav Mohta 2025-08-22 17:25:39 +05:30 committed by OpenMetadata Release Bot
parent 4c323ab8fb
commit ddc9e307be

View File

@ -512,13 +512,8 @@ class SnowflakeSource(
)
)
except Exception as inner_exc:
yield Either(
left=StackTraceError(
name="Tags and Classifications",
error=f"Failed to fetch tags due to [{inner_exc}]",
stackTrace=traceback.format_exc(),
)
)
logger.debug(traceback.format_exc())
logger.error(f"Failed to fetch tags due to [{inner_exc}]")
for res in result:
row = list(res)