diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2020-04-15 15:28:37 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2020-04-15 15:28:37 +0200 |
commit | 73271aa08653ede94469e234500c32addacb2ab0 (patch) | |
tree | a741e1949380dac37dc7a7afe42064bb201c536c /apps/dav | |
parent | 8bc381f1040a207dd090fccc26531ad79f355916 (diff) | |
download | nextcloud-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.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]) || |