Skip to content

Commit

Permalink
Merge pull request #99 from ssi-dk/skp/fix-tbr-sync
Browse files Browse the repository at this point in the history
fix: more debuging
  • Loading branch information
sjkp authored Sep 9, 2024
2 parents 42c7e27 + f9b0eb9 commit 601cfde
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,11 @@ def upsert_tbr_metadata_batch(self, updated_isolates):
if column_mapping.normal_get(k)
}

logging.debug(f"Updating isolate {isolate_id} with {values}")
coerce_dates(values)
logging.debug(f"Updating isolate after date fixes {isolate_id} with {values}")
encrypt_dict(self.encryption_client, values, pii_columns())

logging.debug(f"Updating isolate after encryption {isolate_id} with {values}")
update_query = pymongo.UpdateOne(
{"isolate_id": isolate_id}, {"$set": values}, upsert=True
)
Expand Down

0 comments on commit 601cfde

Please sign in to comment.