mercredi 24 août 2016

Capture user info in Sentry

I have just recently started using Sentry on my Laravel 5.1 application.

I see in there docs, and getting started stuff, a reference to capturing user information.

The example they give of passing this in, looks like this:

Raven.setUserContext({
    email: 'foo@example.com'
});

Having followed their setup instructions for Laravel, I see no reference for where this could go or any reference in the documentation for how to set this up in a config file or anything for Laravel.

Any ideas on how I could set this up to send user information? Users will always be logged in when using my application.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire