shouldntReport($e)) { return; } Mail::send('emails.exception', ['exception' => $e], function ($m) { $m->to( config('mail.contactsList.serviceweb'), 'Le Gaulois Exception Handler' )->subject('Need help !, an error occured in your application, please check Logs ASAP'); }); } } finally { parent::report($e); } } /** * Render an exception into an HTTP response. * * @param \Illuminate\Http\Request $request * @param \Throwable $exception * @return \Symfony\Component\HttpFoundation\Response * * @throws \Throwable */ public function render($request, Throwable $exception) { return parent::render($request, $exception); } }