Skip to content

Commit

Permalink
Merge pull request #7646 from nextcloud/no_exction_logging_appstore_t…
Browse files Browse the repository at this point in the history
…imeout

Don't spam the log when we could not properly connect to the appstore
  • Loading branch information
rullzer authored Jan 2, 2018
2 parents ea858fc + 7520552 commit a2a4a55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/App/AppStore/Fetcher/Fetcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public function get() {
$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 [];
Expand Down

0 comments on commit a2a4a55

Please sign in to comment.