diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2017-12-29 15:55:05 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-12-29 15:55:05 +0100 |
commit | 752055220f30b693da6b58090200bc21020ae31d (patch) | |
tree | a54547a29e27d20a6c563107783c2123e2068087 /lib/private/App | |
parent | ea858fcb553aff59f50e4dcabc42fc8c7c2f200d (diff) | |
download | nextcloud-server-752055220f30b693da6b58090200bc21020ae31d.tar.gz nextcloud-server-752055220f30b693da6b58090200bc21020ae31d.zip |
Don't spam the log when we could not properly connect to the appstore
If we can't connect to the appstore for some reason we don't have to log
the exception just an info entry is enough.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/App')
-rw-r--r-- | lib/private/App/AppStore/Fetcher/Fetcher.php | 2 |
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 []; |