From 816cd66b4b88a4aa7dbee51952e30abdfacc47da Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Fri, 27 Nov 2015 14:28:15 +0100 Subject: [PATCH] also log exception --- lib/private/files/utils/scanner.php | 1 + 1 file changed, 1 insertion(+) 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) { -- 2.39.5