-
-
Notifications
You must be signed in to change notification settings - Fork 297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to handle error exception message #190
Comments
Same issue here. |
Don't rescue from the error and Rails will include this information in the payload with the However, it's worth stating most folks' preference is to rely on exception reporting services for this kind of stuff. |
I realised after #190 that we didn't actually document our thoughts around exception logging. This addresses that need.
@benlovell, I'm seeing the |
@benlovell I see now, it's a Rails 5 thing. |
Lograge:
0.4.1
Rails:
5.0
Ruby:
2.3.1
I need to display in lograge json output error messages from exception errors
Lograge configuration:
How can I add to the lograge log a message, that I'm getting in errors rescuing like this?
The text was updated successfully, but these errors were encountered: