diff --git a/asynq/decorators.py b/asynq/decorators.py index e8f1fc9..a3b62c8 100644 --- a/asynq/decorators.py +++ b/asynq/decorators.py @@ -15,7 +15,6 @@ import asyncio import inspect -import sys from typing import Any, Coroutine import qcore.decorators @@ -164,7 +163,6 @@ async def wrapped(*_args, **_kwargs): send = await asynq_to_async.resolve_awaitables(result) exception = None except Exception as exc: - traceback = sys.exc_info()[2] exception = exc self.asyncio_fn = wrapped