Skip to content

Commit

Permalink
Log Scoop job id and status.
Browse files Browse the repository at this point in the history
  • Loading branch information
rebeccacremona committed Oct 31, 2023
1 parent fc76512 commit 97269b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion perma_web/perma/celery_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -1064,7 +1064,7 @@ def capture_with_scoop(capture_job):

# Show progress to user. Assumes Scoop won't take much longer than ~60s, worst case scenario
wait_time = time.time() - scoop_start_time
inc_progress(capture_job, min(wait_time/60, 0.99), "Waiting for Scoop to finish")
inc_progress(capture_job, min(wait_time/60, 0.99), f"Waiting for Scoop job {capture_job.scoop_job_id} to finish: {poll_data['status']}")

capture_job.scoop_logs = poll_data
if poll_data.get('scoop_capture_summary'):
Expand Down

0 comments on commit 97269b6

Please sign in to comment.