Skip to content

Commit

Permalink
Merge pull request #244 from KFTco/patch-1
Browse files Browse the repository at this point in the history
Fix Syntax - Handler Registeration .md
  • Loading branch information
MarcinOrlowski authored May 6, 2024
2 parents a4582d7 + 4d7965f commit 5e1708e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/exceptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ use MarcinOrlowski\ResponseBuilder\ExceptionHandlerHelper;
public function register()
{
$this->renderable(function (Throwable $ex, $request) {
return ExceptionHandlerHelper::handle($ex, $request);
return ExceptionHandlerHelper::render($request ,$ex );
});
}
```
Expand Down

0 comments on commit 5e1708e

Please sign in to comment.