Replies: 3 comments
-
Hello @vvatlin are you asking about manually adding parameters when manually capturing an exception or would you like to see this in a specific integration that automatically captures exceptions? |
Beta Was this translation helpful? Give feedback.
-
I would prefer second option with automatic captures exceptions. The problem: |
Beta Was this translation helpful? Give feedback.
-
I assume you're asking about the JDBC integration in this case. It wouldn't help with your use case because it would only log the prepared statement without values. So you still wouldn't be able to see the email address used for the search. A non ideal workaround would be to add the params as breadcrumbs. As a potential future improvement we could have some Annotation that marks a method we'd like to record input params of. Which framework are you using? Spring? |
Beta Was this translation helpful? Give feedback.
-
Is it possible to log method variables when error occurred ?
Because right now it's still needed to add more debug into methods and reproduce error to show real data in methods.
Beta Was this translation helpful? Give feedback.
All reactions