Tracing handlers with a VoidTaskResult is broken with Tracing 1.5.2 #674
Labels
aot
area/tracing
Core tracing utility
bug
Unexpected, reproducible and unintended software behaviour
released
Fix or implementation already in main and released
Expected Behaviour
Adding the tracing annotation to a function that returns a
Task
should work as expectedCurrent Behaviour
Decorating a function that returns a void Task with the Tracing annotation causes the following exception:
Possible Solution
No response
Steps to Reproduce
deploy a lambda function with the following handler
[Tracing]
async Task FunctionHandler(Input input, ILambdaContext context)
{
Powertools for AWS Lambda (.NET) version
latest
AWS Lambda function runtime
dotnet8 (AOT)
Debugging logs
No response
The text was updated successfully, but these errors were encountered: