]> source.dussan.org Git - nextcloud-server.git/commitdiff
DAV's exception logger should deal with any Throwable 20503/head
authorArthur Schiwon <blizzz@arthur-schiwon.de>
Wed, 15 Apr 2020 13:28:37 +0000 (15:28 +0200)
committerArthur Schiwon <blizzz@arthur-schiwon.de>
Wed, 15 Apr 2020 13:28:37 +0000 (15:28 +0200)
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
apps/dav/lib/Connector/Sabre/ExceptionLoggerPlugin.php

index 9a6b19ea3faa5f90bcf524600bdf8196e19a152b..2f703d1e5f3c48e76ba402204bbccf9cd2a9e668 100644 (file)
@@ -110,7 +110,7 @@ class ExceptionLoggerPlugin extends \Sabre\DAV\ServerPlugin {
         * Log exception
         *
         */
-       public function logException(\Exception $ex) {
+       public function logException(\Throwable $ex) {
                $exceptionClass = get_class($ex);
                $level = ILogger::FATAL;
                if (isset($this->nonFatalExceptions[$exceptionClass]) ||