summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2018-01-02 09:29:38 +0100
committerGitHub <noreply@github.com>2018-01-02 09:29:38 +0100
commita2a4a5596d757fccbf3b2894fe5647611a7a0821 (patch)
treea54547a29e27d20a6c563107783c2123e2068087
parentea858fcb553aff59f50e4dcabc42fc8c7c2f200d (diff)
parent752055220f30b693da6b58090200bc21020ae31d (diff)
downloadnextcloud-server-a2a4a5596d757fccbf3b2894fe5647611a7a0821.tar.gz
nextcloud-server-a2a4a5596d757fccbf3b2894fe5647611a7a0821.zip
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
-rw-r--r--lib/private/App/AppStore/Fetcher/Fetcher.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/App/AppStore/Fetcher/Fetcher.php b/lib/private/App/AppStore/Fetcher/Fetcher.php
index 5ce64671ffa..cd33d228c4b 100644
--- a/lib/private/App/AppStore/Fetcher/Fetcher.php
+++ b/lib/private/App/AppStore/Fetcher/Fetcher.php
@@ -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 [];