Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-11-27 16:28:15 +0300
committerMorris Jobke <hey@morrisjobke.de>2016-01-07 11:06:47 +0300
commitd523ed997a4d81467501f233e6690e0cb06fa90b (patch)
treeef4b25bc766ffd5b99c9c58231d193454a63067f /lib
parent49a2bbf4ab5fb69a4ceb1cf3311d9bcb4bcb6f21 (diff)
also log exception
Diffstat (limited to 'lib')
-rw-r--r--lib/private/files/utils/scanner.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/files/utils/scanner.php b/lib/private/files/utils/scanner.php
index 44bb90329ff..d431df0cd12 100644
--- a/lib/private/files/utils/scanner.php
+++ b/lib/private/files/utils/scanner.php
@@ -169,6 +169,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->error($e->getMessage());
$this->emit('\OC\Files\Utils\Scanner', 'StorageNotAvailable', [$e]);
}
$this->db->commit();