generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 33
Closed
Labels
bugUnexpected, reproducible and unintended software behaviourUnexpected, reproducible and unintended software behaviourstatus/confirmedThe scope is clear, ready for implementationThe scope is clear, ready for implementation
Description
Expected Behaviour
Not sure if I am missing something, but I would expect that when an exception is thrown inside a method which is marked with the [Trace] attribute I should see the full stack trace for that exception
Current Behaviour
The stack trace shows this instead of the actual location of the error
Stack Trace:
TracingAspectHandler.OnException[T](AspectEventArgs eventArgs, Exception exception)
MethodAspectAttribute.WrapAsync[T](Func`2 target, Object[] args, AspectEventArgs eventArgs)
line 154
Code snippet
Please see this repo
https://github.com/jaknor/aws-lambda-powertools-tracing-stack-trace-bug/blob/main/README.md
Note, I've only reproduced it in unit test here, but we have seen the same behaviour when deployed to a Lambda.
Possible Solution
No response
Steps to Reproduce
Please see repo https://github.com/jaknor/aws-lambda-powertools-tracing-stack-trace-bug/blob/main/README.md
Powertools for AWS Lambda (.NET) version
latest
AWS Lambda function runtime
dotnet6
Debugging logs
No response
Metadata
Metadata
Assignees
Labels
bugUnexpected, reproducible and unintended software behaviourUnexpected, reproducible and unintended software behaviourstatus/confirmedThe scope is clear, ready for implementationThe scope is clear, ready for implementation
Type
Projects
Status
📋 Backlog