also log exception
This commit is contained in:
parent
ae71f80f4a
commit
816cd66b4b
1 changed files with 1 additions and 0 deletions
|
@ -174,6 +174,7 @@ class Scanner extends PublicEmitter {
|
|||
$scanner->scan($relativePath, \OC\Files\Cache\Scanner::SCAN_RECURSIVE, \OC\Files\Cache\Scanner::REUSE_ETAG | \OC\Files\Cache\Scanner::REUSE_SIZE);
|
||||
} catch (StorageNotAvailableException $e) {
|
||||
$this->logger->error('Storage ' . $storage->getId() . ' not available');
|
||||
$this->logger->logException($e);
|
||||
$this->emit('\OC\Files\Utils\Scanner', 'StorageNotAvailable', [$e]);
|
||||
}
|
||||
if (!$isDbLocking) {
|
||||
|
|
Loading…
Reference in a new issue