url)); } if ($this->shouldntReport($e)) { return; } parent::report($e); } /** * Register the exception handling callbacks for the application. * * @return void */ public function register() { $this->reportable(function (\Throwable $e) { if (app()->bound('sentry')) { app('sentry')->captureException($e); } }); } }