diff options
author | Joas Schilling <coding@schilljs.com> | 2022-04-07 14:45:58 +0200 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2022-04-07 16:17:40 +0000 |
commit | 8f771993664804d530abc8cfbb9c1b3e25f74df4 (patch) | |
tree | 51adcdac01c8ab3cd2f94284d82289d6be3b8f10 /lib/private | |
parent | 2c238e4bf6f5cc29c6c8dbf95504dd84d36d9f72 (diff) | |
download | nextcloud-server-8f771993664804d530abc8cfbb9c1b3e25f74df4.tar.gz nextcloud-server-8f771993664804d530abc8cfbb9c1b3e25f74df4.zip |
Log exception
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/legacy/OC_App.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/legacy/OC_App.php b/lib/private/legacy/OC_App.php index 42910fd3cd2..fef5bec6ab0 100644 --- a/lib/private/legacy/OC_App.php +++ b/lib/private/legacy/OC_App.php @@ -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) { |