diff options
author | blizzz <blizzz@arthur-schiwon.de> | 2020-04-15 21:48:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-15 21:48:35 +0200 |
commit | 48a8f0a464bb4e3e2503688ef50be78b7c30b9e3 (patch) | |
tree | 6f78b927da149c08ddbdf755226f31c9c3ce2cb0 | |
parent | 0571fd36358e72c397f20234860a160d54091867 (diff) | |
parent | 73271aa08653ede94469e234500c32addacb2ab0 (diff) | |
download | nextcloud-server-48a8f0a464bb4e3e2503688ef50be78b7c30b9e3.tar.gz nextcloud-server-48a8f0a464bb4e3e2503688ef50be78b7c30b9e3.zip |
Merge pull request #20503 from nextcloud/fix/noid/dav-catch-throwable
DAV's exception logger should deal with any Throwable
-rw-r--r-- | apps/dav/lib/Connector/Sabre/ExceptionLoggerPlugin.php | 2 |
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]) || |