mirror of
https://github.com/nextcloud/server.git
synced 2026-07-15 04:51:46 -04:00
Merge pull request #7307 from nextcloud/do-not-log-not-implemented-dav
Log NotImplementedException on DAV in debug level
This commit is contained in:
commit
5cc8ea8feb
1 changed files with 4 additions and 0 deletions
|
|
@ -32,6 +32,7 @@ use OCP\ILogger;
|
|||
use Sabre\DAV\Exception\Forbidden;
|
||||
use Sabre\DAV\Exception\NotAuthenticated;
|
||||
use Sabre\DAV\Exception\NotFound;
|
||||
use Sabre\DAV\Exception\NotImplemented;
|
||||
use Sabre\DAV\Exception\PreconditionFailed;
|
||||
use Sabre\DAV\Exception\ServiceUnavailable;
|
||||
|
||||
|
|
@ -54,6 +55,9 @@ class ExceptionLoggerPlugin extends \Sabre\DAV\ServerPlugin {
|
|||
// Happens when an external storage or federated share is temporarily
|
||||
// not available
|
||||
StorageNotAvailableException::class => true,
|
||||
// happens if some a client uses the wrong method for a given URL
|
||||
// the error message itself is visible on the client side anyways
|
||||
NotImplemented::class => true,
|
||||
];
|
||||
|
||||
/** @var string */
|
||||
|
|
|
|||
Loading…
Reference in a new issue