3 namespace Oxbow\Exceptions;
6 use Symfony\Component\HttpKernel\Exception\HttpException;
7 use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
9 class Handler extends ExceptionHandler
12 * A list of the exception types that should not be reported.
16 protected $dontReport = [
21 * Report or log an exception.
23 * This is a great spot to send exceptions to Sentry, Bugsnag, etc.
25 * @param \Exception $e
28 public function report(Exception $e)
30 return parent::report($e);
34 * Render an exception into an HTTP response.
36 * @param \Illuminate\Http\Request $request
37 * @param \Exception $e
38 * @return \Illuminate\Http\Response
40 public function render($request, Exception $e)
42 return parent::render($request, $e);