diff --git a/src/pds/registrysweepers/utils/db/__init__.py b/src/pds/registrysweepers/utils/db/__init__.py index 253765e..0ec5abd 100644 --- a/src/pds/registrysweepers/utils/db/__init__.py +++ b/src/pds/registrysweepers/utils/db/__init__.py @@ -92,7 +92,7 @@ def query_registry_db( hits_data_present_in_response = len(response_hits) > 0 if not hits_data_present_in_response: log.error( - f"Response for query {query_id} contained no hits when hits were expected. Returned data is incomplete. Response was: {data}" + f"Response for query {query_id} contained no hits when hits were expected. Returned data is incomplete (got {served_hits} of {total_hits} total hits). Response was: {data}" ) break