mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-25 17:04:54 +00:00
MINOR: Ignore lineage edge not found logs (#16019)
This commit is contained in:
parent
b14b191416
commit
976e4b304f
@ -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(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user