]> source.dussan.org Git - nextcloud-server.git/commitdiff
also log exception
authorRobin Appelman <icewind@owncloud.com>
Fri, 27 Nov 2015 13:28:15 +0000 (14:28 +0100)
committerRobin Appelman <icewind@owncloud.com>
Fri, 27 Nov 2015 13:28:15 +0000 (14:28 +0100)
lib/private/files/utils/scanner.php

index 9b3bae0b9aab307c11a62f802917935379e2a992..85ca734c146ca88c1e61d39f62deb08ba871509e 100644 (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) {