Merge pull request #7646 from nextcloud/no_exction_logging_appstore_timeout

Don't spam the log when we could not properly connect to the appstore
This commit is contained in:
Roeland Jago Douma 2018-01-02 09:29:38 +01:00 committed by GitHub
commit a2a4a5596d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -170,7 +170,7 @@ abstract class Fetcher {
$file->putContent(json_encode($responseJson));
return json_decode($file->getContent(), true)['data'];
} catch (ConnectException $e) {
$this->logger->logException($e, ['app' => 'appstoreFetcher']);
$this->logger->info('Could not connect to appstore', ['app' => 'appstoreFetcher']);
return [];
} catch (\Exception $e) {
return [];