From 68505122bb1107418c4961bebeabcdc62142e11c Mon Sep 17 00:00:00 2001 From: Andrei Neagu Date: Mon, 28 Oct 2024 12:42:53 +0100 Subject: [PATCH] parameter is no longer supported --- .../service-library/src/servicelib/deferred_tasks/_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/service-library/src/servicelib/deferred_tasks/_utils.py b/packages/service-library/src/servicelib/deferred_tasks/_utils.py index dd71341bad6..b06c98329ad 100644 --- a/packages/service-library/src/servicelib/deferred_tasks/_utils.py +++ b/packages/service-library/src/servicelib/deferred_tasks/_utils.py @@ -30,6 +30,6 @@ async def wrapper(*args, **kwargs): f"Please check code at: '{func.__module__}.{func.__name__}'" ) _logger.exception(msg) - raise RejectMessage(reason=msg) from e + raise RejectMessage from e return wrapper