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)
|
||||
return res
|
||||
except APIError as err:
|
||||
logger.debug(traceback.format_exc())
|
||||
logger.warning(
|
||||
f"Error {err.status_code} trying to GET linage edge between "
|
||||
f"{from_id} and {to_id}: {err}"
|
||||
)
|
||||
if err.status_code != 404:
|
||||
logger.debug(traceback.format_exc())
|
||||
logger.debug(
|
||||
f"Error {err.status_code} trying to GET linage edge between "
|
||||
f"{from_id} and {to_id}: {err}"
|
||||
)
|
||||
return None
|
||||
|
||||
def patch_lineage_edge(
|
||||
|
Loading…
x
Reference in New Issue
Block a user