Skip to content

Commit

Permalink
feat: Add job ID to TaskManager.__str__ to help find cause of "Unable…
Browse files Browse the repository at this point in the history
… to wipe crawl (data version is not set)" messages (started after old_job.delete())
  • Loading branch information
jpmckinney committed Nov 26, 2024
1 parent a647612 commit 3d2d287
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data_registry/process_manager/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,4 @@ def wipe(self) -> None:
"""

def __str__(self):
return f"Publication {self.collection}: {type(self).__name__}"
return f"Publication {self.collection}: Job #{self.job.pk}: {type(self).__name__}"

0 comments on commit 3d2d287

Please sign in to comment.