From 260385f9ef7e527a4f3d18126fe55818edcb1e30 Mon Sep 17 00:00:00 2001 From: David Lougheed Date: Fri, 8 Dec 2023 15:30:15 -0500 Subject: [PATCH] fix: ingest logging --- chord_drs/routes.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/chord_drs/routes.py b/chord_drs/routes.py index 6d2f426..1c40f0d 100644 --- a/chord_drs/routes.py +++ b/chord_drs/routes.py @@ -476,10 +476,12 @@ def object_ingest(): candidate_drs_object.data_type == data_type, candidate_drs_object.public == public, )): - logger.info(f"Found duplicate DRS object via checksum (will fully deduplicate): {drs_object}") + logger.info( + f"Found duplicate DRS object via checksum (will fully deduplicate): {candidate_drs_object}") drs_object = candidate_drs_object else: - logger.info(f"Found duplicate DRS object via checksum (will deduplicate JUST bytes): {drs_object}") + logger.info( + f"Found duplicate DRS object via checksum (will deduplicate JUST bytes): {candidate_drs_object}") object_to_copy = candidate_drs_object if not drs_object: