You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When using the Powertools Logger, log lines are annotated with a number of useful fields such as function_request_id.
However, if a Runtime exception is thrown, Powertools Logger isn't used to log the exception. Instead the exception is printed using the System.err by the JVM, and the log lines do not contain any information relating to the function execution.
Describe the solution you'd like
I would like the RuntimeExceptions to be printed, so when exceptions are raised in my code, I can identify the function_request_id for further debugging
Describe alternatives you've considered
It is possible for Powertools users to define their own catching mechanism, however it would be nice if Powertools Logger printed this information by default