lundi 10 octobre 2016

How to get current user on laravel exceptions handler

I want to send error reports to Errbit (System with API and functions same as Airbrake.io).

Everything would be fine, but I can't get current user. Auth::user() and auth() gives me null and false.

I'm trying to get it from App\Exceptions\Handler class, report method.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire