mirror of
https://github.com/tchapi/davis.git
synced 2025-04-21 21:11:59 +02:00
Use warning for 401 logs
This commit is contained in:
parent
642bce7a07
commit
0ffee2950d
@ -278,7 +278,7 @@ class DAVController extends AbstractController
|
||||
$this->server->on('exception', function (\Throwable $e) {
|
||||
// We don't need a trace for simple authentication exceptions
|
||||
if ($e instanceof \Sabre\DAV\Exception\NotAuthenticated) {
|
||||
$this->logger->error('[401]: '.get_class($e)." - No 'Authorization: Basic' header found. Login was needed");
|
||||
$this->logger->warning('[401]: '.get_class($e)." - No 'Authorization: Basic' header found. Login was needed");
|
||||
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user