Skip to content
Snippets Groups Projects
Commit 5bfa9584 authored by Roeland Jago Douma's avatar Roeland Jago Douma Committed by GitHub
Browse files

Merge pull request #404 from nextcloud/nopasswordlogingallowed_is_not_fatal

PasswordLoginForbidden is not a FATAL exception
parents 813b58ab 059b7435
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,9 @@ use Sabre\HTTP\Response;
class ExceptionLoggerPlugin extends \Sabre\DAV\ServerPlugin {
protected $nonFatalExceptions = array(
'Sabre\DAV\Exception\NotAuthenticated' => true,
// If tokenauth can throw this exception (which is basically as
// NotAuthenticated. So not fatal.
'OCA\DAV\Connector\Sabre\Exception\PasswordLoginForbidden' => true,
// the sync client uses this to find out whether files exist,
// so it is not always an error, log it as debug
'Sabre\DAV\Exception\NotFound' => true,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment