From 4e64be6b186e618afa9b51ddadb344a1024f7136 Mon Sep 17 00:00:00 2001 From: pix666 Date: Sat, 13 Jan 2024 18:24:25 +0400 Subject: [PATCH 1/2] fix stdout logging --- paper_rq/patches.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper_rq/patches.py b/paper_rq/patches.py index fa19cf6..5f00f85 100644 --- a/paper_rq/patches.py +++ b/paper_rq/patches.py @@ -31,7 +31,7 @@ def create_failure(cls, job, ttl, exc_string, pipeline=None): job_id=job.id, type=cls.Type.FAILED, connection=job.connection, - stdout=getattr(job, "stdout", None), + stdout=getattr(job, "_stdout", None), exc_string=exc_string, serializer=job.serializer, ) From ad4f03921a28d65661a7c6cce46c6ccc9bd3d37b Mon Sep 17 00:00:00 2001 From: pix666 Date: Sat, 13 Jan 2024 18:32:28 +0400 Subject: [PATCH 2/2] Bump version --- CHANGELOG.md | 6 ++++++ paper_rq/__init__.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 131a7dc..0e817d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## [0.8.3](https://github.com/dldevinc/paper-rq/tree/v0.8.3) - 2024-01-13 + +### Bug Fixes + +- Fixed job's stdout logging. + ## [0.8.2](https://github.com/dldevinc/paper-rq/tree/v0.8.2) - 2023-12-13 ### Bug Fixes diff --git a/paper_rq/__init__.py b/paper_rq/__init__.py index 71a3887..b4085cb 100644 --- a/paper_rq/__init__.py +++ b/paper_rq/__init__.py @@ -1,2 +1,2 @@ -__version__ = "0.8.2" +__version__ = "0.8.3" default_app_config = "paper_rq.apps.Config"