Skip to content

Commit f542371

Browse files
committed
refactor: remove code doubling in logging
1 parent 5c8fb3a commit f542371

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

server/workers/orcid/src/orcid_service.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -206,10 +206,6 @@ def request_base_metadata(self, dois: List[str], params: Dict[str, str]) -> pd.D
206206
base_response: str = get_nested_value(result, ["input_data", "metadata"], '[]') # type: ignore
207207
batch_df = pd.DataFrame(json.loads(base_response))
208208
self._log_is_base_response_missing_dois(batch, batch_df)
209-
if len(batch_df) < len(batch):
210-
self.logger.warning(
211-
f"BASE response shortfall: requested {len(batch)} DOIs, received {len(batch_df)} rows (limit or missing records?)"
212-
)
213209

214210
base_metadata = pd.concat([
215211
base_metadata,

0 commit comments

Comments
 (0)