Applied fixes from StyleCI

This commit is contained in:
Alex Bilbie
2016-04-10 06:48:46 -04:00
committed by StyleCI Bot
parent d4fb00628e
commit 5d3516c7b4
6 changed files with 20 additions and 14 deletions

View File

@@ -81,6 +81,7 @@ $app->get('/authorize', function (ServerRequestInterface $request, ResponseInter
} catch (\Exception $exception) {
$body = new Stream('php://temp', 'r+');
$body->write($exception->getMessage());
return $response->withStatus(500)->withBody($body);
}
});