diff options
author | Joas Schilling <coding@schilljs.com> | 2022-04-07 14:45:58 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-04-07 14:45:58 +0200 |
commit | d96633916cb9fba6dc2ed522f7e449e725deeacd (patch) | |
tree | 80c62a0ade7f70051c940e50ba378ca2ba98545c | |
parent | a06ba8850243b93295e9c49ab820c0c46d9b220a (diff) | |
download | nextcloud-server-d96633916cb9fba6dc2ed522f7e449e725deeacd.tar.gz nextcloud-server-d96633916cb9fba6dc2ed522f7e449e725deeacd.zip |
Log exception
Signed-off-by: Joas Schilling <coding@schilljs.com>
-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 245bfe76d98..f290b7a610c 100644 --- a/lib/private/legacy/OC_App.php +++ b/lib/private/legacy/OC_App.php @@ -641,6 +641,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) { |