DAV's exception logger should deal with any Throwable
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
8bc381f104
commit
73271aa086
|
@ -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]) ||
|
||||
|
|
Loading…
Reference in New Issue