This commit is contained in:
Tim Lorsbach
2025-11-04 10:15:06 +01:00
parent c2d45917ce
commit 04f9c9252a
3 changed files with 58 additions and 4 deletions

View File

@ -172,6 +172,7 @@ def predict(
except Exception as e:
pw.kv.update({"status": "failed"})
pw.kv.update(**{"error": str(e)})
pw.save()
if JobLog.objects.filter(task_id=self.request.id).exists():