Skip to content

Commit

Permalink
Fix error reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
BenGalewsky committed Jul 5, 2024
1 parent 3b05197 commit 640b28c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/servicex_did_finder_lib/did_finder_app.py
Original file line number Diff line number Diff line change
@@ -102,8 +102,9 @@ def do_lookup(self, did: str, dataset_id: int, endpoint: str, user_did_finder: U
acc.send_on(did_info.file_count)
except Exception as e:
self.logger.error(
f"Error processing DID {did}: {e}",
extra={"dataset_id": dataset_id}
f"Error processing DID {did}",
extra={"dataset_id": dataset_id},
exc_info=1
)
finally:
elapsed_time = int((datetime.now() - start_time).total_seconds())

0 comments on commit 640b28c

Please sign in to comment.