Merge pull request #8474 from nextcloud/bugfix/ciu-12/log-exceptions-that-happen-when-writing-to-storage

Log exceptions that happen when writing the app store reply to storage
This commit is contained in:
Morris Jobke 2018-02-21 15:21:31 +01:00 committed by GitHub
commit f01754a389
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -174,6 +174,7 @@ abstract class Fetcher {
$this->logger->logException($e, ['app' => 'appstoreFetcher', 'level' => Util::INFO, 'message' => 'Could not connect to appstore']);
return [];
} catch (\Exception $e) {
$this->logger->logException($e, ['app' => 'appstoreFetcher', 'level' => Util::INFO]);
return [];
}
}