Closed VassilisPallas closed 2 years ago
Thanks for opening your first issue here! We'll come back to you as soon as we can.
Hey @VassilisPallas if you have the bandwidth, feel free to send a PR for this quick fix and we can include it in the next release ASAP.
Otherwise we can tackle that later
done @VassilisPallas - it'll be available in today's release :)
hey @VassilisPallas this is now available as part of today's 1.23.0 release :) Thank you again for this feature request!
Hey @heitorlessa, thanks for the quick fix!
What were you trying to accomplish?
I'm trying to use the logger in a lambda function that is executed once we deploy it via Terraform. We pass some custom arguments, however, the decorator is not able to handle them.
Expected Behavior
The expected behaviour should be the decorator to shallow the extra arguments
Current Behavior
Lambda function is falling with the error
TypeError: decorate() got an unexpected keyword argument 'argument_name'
Possible Solution
By appending variadic arguments to decorate function, ti should fix the problem.
Steps to Reproduce (for bugs)
It's similar to that error.
Environment
I caught it during testing, below is the exact error