diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-11-27 14:28:15 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2015-11-27 14:28:15 +0100 |
commit | 816cd66b4b88a4aa7dbee51952e30abdfacc47da (patch) | |
tree | 40aaf40dd3bd385ced6cda8ea037cb78105198d7 /lib/private/files | |
parent | ae71f80f4a3262e3f12de4c71af1cc388904425d (diff) | |
download | nextcloud-server-816cd66b4b88a4aa7dbee51952e30abdfacc47da.tar.gz nextcloud-server-816cd66b4b88a4aa7dbee51952e30abdfacc47da.zip |
also log exception
Diffstat (limited to 'lib/private/files')
-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 9b3bae0b9aa..85ca734c146 100644 --- a/lib/private/files/utils/scanner.php +++ b/lib/private/files/utils/scanner.php @@ -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) { |