-
Notifications
You must be signed in to change notification settings - Fork 19
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
Options: Can not set an array of events for "channels", it returns error. #13
Comments
Hi. This option can be set to The default value ( |
Thank you for the question. I am trying to send messages generated by server.log and request.log (e.g. How do I achieve that via this plugin please ? |
That's not the purpose of the hapi-sentry hapi plugin. As sentry should be used for error logging, the plugin only catches unhandled errors of the hapi route handlers. If you want to track custom error objects, you have to use on of sentrys captureEvent, captureException or captureMessage methods. So you have three options:
|
Hi there,
I am setting up the plugin option :
channels: ['fatal', 'error', 'warning', 'log', 'info', 'debug', 'critical'],
Getting :
Let me know what is wrong please. Thanks.
The text was updated successfully, but these errors were encountered: