mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
Log exception
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
2c238e4bf6
commit
8f77199366
1 changed files with 1 additions and 0 deletions
|
|
@ -640,6 +640,7 @@ class OC_App {
|
|||
$path_info = $request->getPathInfo();
|
||||
} catch (Exception $e) {
|
||||
// Can happen from unit tests because the script name is `./vendor/bin/phpunit` or something a like then.
|
||||
\OC::$server->get(LoggerInterface::class)->error('Failed to detect current app from script path', ['exception' => $e]);
|
||||
return '';
|
||||
}
|
||||
if ($path_info) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue