From 3d2d287c680575f386ba09a3136955930bb1ee15 Mon Sep 17 00:00:00 2001 From: James McKinney <26463+jpmckinney@users.noreply.github.com> Date: Tue, 26 Nov 2024 10:52:18 -0500 Subject: [PATCH] feat: Add job ID to TaskManager.__str__ to help find cause of "Unable to wipe crawl (data version is not set)" messages (started after old_job.delete()) --- data_registry/process_manager/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data_registry/process_manager/util.py b/data_registry/process_manager/util.py index 511d835..2826bd4 100644 --- a/data_registry/process_manager/util.py +++ b/data_registry/process_manager/util.py @@ -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__}"