diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-11-27 16:28:15 +0300 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-01-07 11:06:47 +0300 |
commit | d523ed997a4d81467501f233e6690e0cb06fa90b (patch) | |
tree | ef4b25bc766ffd5b99c9c58231d193454a63067f /lib | |
parent | 49a2bbf4ab5fb69a4ceb1cf3311d9bcb4bcb6f21 (diff) |
also log exception
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/files/utils/scanner.php | 1 |
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(); |