Skip to content

Commit

Permalink
uncomments
Browse files Browse the repository at this point in the history
  • Loading branch information
vmcvlad committed Apr 4, 2024
1 parent 5b19d71 commit cf82657
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions app/Exceptions/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
namespace App\Exceptions;

use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
use Illuminate\Support\Facades\App;
use LaravelEnso\Helpers\Exceptions\EnsoException;
use LaravelEnso\Sentry\Exceptions\Handler as Sentry;
use Throwable;

class Handler extends ExceptionHandler
Expand All @@ -18,9 +20,9 @@ class Handler extends ExceptionHandler

public function report(Throwable $exception)
{
// if (App::bound('sentry') && $this->shouldReport($exception)) {
// Sentry::report($exception);
// }
if (App::bound('sentry') && $this->shouldReport($exception)) {
Sentry::report($exception);
}

parent::report($exception);
}
Expand Down

0 comments on commit cf82657

Please sign in to comment.