Skip to content

Commit 61467a2

Browse files
committed
chore: add a comment to not forget about async tracer
1 parent d95fd21 commit 61467a2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

aws_lambda_powertools/tracing/tracer.py

+1
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,7 @@ async def async_tasks():
487487
env=os.getenv(constants.TRACER_CAPTURE_ERROR_ENV, "true"), choice=capture_error
488488
)
489489

490+
# Maintenance: Need a factory/builder here to simplify this now
490491
if inspect.iscoroutinefunction(method):
491492
return self._decorate_async_function(
492493
method=method, capture_response=capture_response, capture_error=capture_error, method_name=method_name

0 commit comments

Comments
 (0)