Skip to content

Commit c28efb7

Browse files
committed
Review
1 parent 4aa1c0e commit c28efb7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

taskiq/cli/async_task_runner.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,8 @@ async def async_listen_messages( # noqa: C901, WPS210, WPS213
276276
await broker.result_backend.set_result(message.task_id, result)
277277
except Exception as exc:
278278
logger.exception(
279-
"Can't set result in {broker_name} broker: \n {exc}".format(
280-
broker_name=broker.__class__.__name__,
281-
exc=exc,
282-
),
279+
"Can't set result in %s result backend: \n%s",
280+
broker.result_backend.__class__.__name__,
281+
exc,
282+
exc_info=True,
283283
)

0 commit comments

Comments
 (0)