Merge branch 'V5-WIP' of github.com:thephpleague/oauth2-server into V5-WIP

This commit is contained in:
Alex Bilbie 2016-03-17 11:49:20 +00:00
commit a350705a01
3 changed files with 3 additions and 1 deletions

View File

@ -40,6 +40,7 @@ class AuthenticationServerMiddleware
// @codeCoverageIgnoreStart
} catch (\Exception $exception) {
$response->getBody()->write($exception->getMessage());
return $response->withStatus(500);
// @codeCoverageIgnoreEnd
}

View File

@ -40,6 +40,7 @@ class ResourceServerMiddleware
// @codeCoverageIgnoreStart
} catch (\Exception $exception) {
$response->getBody()->write($exception->getMessage());
return $response->withStatus(500);
// @codeCoverageIgnoreEnd
}