also log exception

This commit is contained in:
Robin Appelman 2015-11-27 14:28:15 +01:00
parent ae71f80f4a
commit 816cd66b4b

View file

@ -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) {