Applied fixes from StyleCI

This commit is contained in:
Alex Bilbie
2016-04-10 06:52:27 -04:00
committed by StyleCI Bot
parent c75d0e0f0e
commit 7c35985c1e
7 changed files with 20 additions and 16 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);
}
});