mirror of
https://github.com/nextcloud/server.git
synced 2026-03-02 21:41:12 -05:00
Do not log RequestedRangeNotSatisfiable exceptions in DAV
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
68d4f97d33
commit
d79476cf3c
1 changed files with 3 additions and 0 deletions
|
|
@ -39,6 +39,7 @@ use Sabre\DAV\Exception\NotAuthenticated;
|
|||
use Sabre\DAV\Exception\NotFound;
|
||||
use Sabre\DAV\Exception\NotImplemented;
|
||||
use Sabre\DAV\Exception\PreconditionFailed;
|
||||
use Sabre\DAV\Exception\RequestedRangeNotSatisfiable;
|
||||
use Sabre\DAV\Exception\ServiceUnavailable;
|
||||
|
||||
class ExceptionLoggerPlugin extends \Sabre\DAV\ServerPlugin {
|
||||
|
|
@ -73,6 +74,8 @@ class ExceptionLoggerPlugin extends \Sabre\DAV\ServerPlugin {
|
|||
MethodNotAllowed::class => true,
|
||||
// A locked file is perfectly valid and can happen in various cases
|
||||
FileLocked::class => true,
|
||||
// An invalid range is requested
|
||||
RequestedRangeNotSatisfiable::class => true,
|
||||
];
|
||||
|
||||
/** @var string */
|
||||
|
|
|
|||
Loading…
Reference in a new issue