mirror of
https://github.com/elyby/oauth2-server.git
synced 2026-11-30 19:23:23 +05:30
Applied fixes from StyleCI
This commit is contained in:
1 parent
c75d0e0f0e
commit
7c35985c1e
7 files changed
+20
-16
No files matched your search
@@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user