summaryrefslogtreecommitdiffstats
path: root/apps/dav
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2020-04-15 15:28:37 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2020-04-15 15:28:37 +0200
commit73271aa08653ede94469e234500c32addacb2ab0 (patch)
treea741e1949380dac37dc7a7afe42064bb201c536c /apps/dav
parent8bc381f1040a207dd090fccc26531ad79f355916 (diff)
downloadnextcloud-server-73271aa08653ede94469e234500c32addacb2ab0.tar.gz
nextcloud-server-73271aa08653ede94469e234500c32addacb2ab0.zip
DAV's exception logger should deal with any Throwable
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/dav')
-rw-r--r--apps/dav/lib/Connector/Sabre/ExceptionLoggerPlugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Connector/Sabre/ExceptionLoggerPlugin.php b/apps/dav/lib/Connector/Sabre/ExceptionLoggerPlugin.php
index 9a6b19ea3fa..2f703d1e5f3 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]) ||