Skip to content

Commit

Permalink
Merge pull request #7 from MoT3rror/patch-1
Browse files Browse the repository at this point in the history
Update HttpPlugin to return bool to match Magento
  • Loading branch information
danielmorell authored Sep 15, 2023
2 parents 5032c93 + df42f36 commit 23d1811
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Plugin/HttpPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@

class HttpPlugin
{
public function aroundCatchException($subject, $callable, $bootstrap, $exception)
public function aroundCatchException($subject, $callable, $bootstrap, $exception): bool
{
$callable($bootstrap, $exception);

\Rollbar\Rollbar::error($exception);
return true;
}
}
}

0 comments on commit 23d1811

Please sign in to comment.