From 752055220f30b693da6b58090200bc21020ae31d Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Fri, 29 Dec 2017 15:55:05 +0100 Subject: [PATCH] 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 --- lib/private/App/AppStore/Fetcher/Fetcher.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/App/AppStore/Fetcher/Fetcher.php b/lib/private/App/AppStore/Fetcher/Fetcher.php index 5ce64671ff..cd33d228c4 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 [];