Skip to content

Commit

Permalink
errors adjusted
Browse files Browse the repository at this point in the history
  • Loading branch information
JRSaunders committed Feb 17, 2018
1 parent 5ad0a71 commit c6b806f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/errors.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
$container['notFoundHandler'] = function ( $c ) {
return function ( Request $request, Response $response ) use ( $c ) {
$data = new stdClass();
$data->error = 'Not Found';
$data->errorStatus = '404';
$data->sentRequestBody = $request->getBody();
$data->sentRequestMethod = $request->getMethod();
Expand Down

0 comments on commit c6b806f

Please sign in to comment.