Skip to content

Commit

Permalink
Make sure that request ID and sample name are in error output (follow…
Browse files Browse the repository at this point in the history
…ing Errors from ServiceX that aren't JSON do not tell us much #61)
  • Loading branch information
ponyisi authored and BenGalewsky committed Nov 14, 2024
1 parent cea2879 commit 7a080f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion servicex/query_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,8 @@ def transform_complete(task: Task):
expandable_progress.refresh()
if task.exception():
logger.error(
"ServiceX Exception", exc_info=task.exception()
f"ServiceX Exception for request ID {self.request_id} ({self.title})\"",
exc_info=task.exception()
)
self.cache.delete_record_by_request_id(self.request_id)
if download_files_task:
Expand Down

0 comments on commit 7a080f5

Please sign in to comment.