From 73271aa08653ede94469e234500c32addacb2ab0 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Wed, 15 Apr 2020 15:28:37 +0200 Subject: [PATCH] DAV's exception logger should deal with any Throwable Signed-off-by: Arthur Schiwon --- apps/dav/lib/Connector/Sabre/ExceptionLoggerPlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dav/lib/Connector/Sabre/ExceptionLoggerPlugin.php b/apps/dav/lib/Connector/Sabre/ExceptionLoggerPlugin.php index 9a6b19ea3f..2f703d1e5f 100644 --- a/apps/dav/lib/Connector/Sabre/ExceptionLoggerPlugin.php +++ b/apps/dav/lib/Connector/Sabre/ExceptionLoggerPlugin.php @@ -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]) ||