When there is Error, how to display more information by sentry?


#1

I have added sentry in the NodeJs(Express). When there is abnormal situation, I can receive relevant information in time. It is very useful.

But I hope sentry can collect more information of all api mistakes. For example, current api’s request parameters. Is it possible to be implemented? Please let me know how to configure.

Thanks.

Now sentry configuration of index.js as follows:

var Raven = require ('raven');
var ravenClient = new Raven.Client('https://xxxxxx@sentry.io/xxxxxx', {
    environment: process.env.NODE_ENV
}).install();