зеркало из https://github.com/nextcloud/server.git
Merge pull request #20503 from nextcloud/fix/noid/dav-catch-throwable
DAV's exception logger should deal with any Throwable
This commit is contained in:
Коммит
48a8f0a464
|
@ -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]) ||
|
||||
|
|
Загрузка…
Ссылка в новой задаче