MINOR: Ignore lineage edge not found logs (#16019)

This commit is contained in:
Mayur Singal 2024-04-25 14:16:51 +05:30 committed by GitHub
parent b14b191416
commit 976e4b304f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -175,11 +175,12 @@ class OMetaLineageMixin(Generic[T]):
search_cache.put((from_id, to_id), res) search_cache.put((from_id, to_id), res)
return res return res
except APIError as err: except APIError as err:
logger.debug(traceback.format_exc()) if err.status_code != 404:
logger.warning( logger.debug(traceback.format_exc())
f"Error {err.status_code} trying to GET linage edge between " logger.debug(
f"{from_id} and {to_id}: {err}" f"Error {err.status_code} trying to GET linage edge between "
) f"{from_id} and {to_id}: {err}"
)
return None return None
def patch_lineage_edge( def patch_lineage_edge(