mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-02-13 17:20:21 +00:00
Add error middleware
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
1a62857df7
commit
8317b30658
1 changed files with 2 additions and 0 deletions
|
|
@ -141,4 +141,6 @@ $app->get('/', function (\Psr\Http\Message\RequestInterface $request, \Psr\Http\
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$errorMiddleware = $app->addErrorMiddleware(true, true, true);
|
||||||
|
|
||||||
$app->run();
|
$app->run();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue