Handler.php 657 B

123456789101112131415161718192021222324252627282930313233
  1. <?php namespace App\Exceptions;
  2. use Exception;
  3. use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
  4. class Handler extends ExceptionHandler {
  5. /**
  6. * Report or log an exception.
  7. *
  8. * This is a great spot to send exceptions to Sentry, Bugsnag, etc.
  9. *
  10. * @param \Exception $e
  11. * @return void
  12. */
  13. public function report(Exception $e)
  14. {
  15. return parent::report($e);
  16. }
  17. /**
  18. * Render an exception into a response.
  19. *
  20. * @param \Illuminate\Http\Request $request
  21. * @param \Exception $e
  22. * @return \Illuminate\Http\Response
  23. */
  24. public function render($request, Exception $e)
  25. {
  26. return parent::render($request, $e);
  27. }
  28. }