diff options
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php index f0e139d92c8..0c78d235c59 100644 --- a/lib/base.php +++ b/lib/base.php @@ -426,7 +426,7 @@ class OC { // if session can't be started break with http 500 error } catch (Exception $e) { - \OCP\Util::logException('base', $e); + \OC::$server->getLogger()->logException($e, ['app' => 'base']); //show the user a detailed error page OC_Response::setStatus(OC_Response::STATUS_INTERNAL_SERVER_ERROR); OC_Template::printExceptionErrorPage($e); |