Skip to content

Commit

Permalink
v.0.9.004
Browse files Browse the repository at this point in the history
  • Loading branch information
andiwijaya-dev committed Jul 4, 2021
1 parent ea35729 commit 01f34bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Exceptions/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ class Handler extends ExceptionHandler

public function report(Exception $exception)
{
if($exception instanceof UserException) return;

$message = substr($exception->getMessage(), 0, 255);
$traces = $exception->getTraceAsString();

Expand Down

0 comments on commit 01f34bf

Please sign in to comment.