Skip to content

Commit e11a8f0

Browse files
authored
Merge pull request #47285 from nextcloud/fix/appstore-upgrade-failure
2 parents 7efd244 + 3ca7480 commit e11a8f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/private/App/AppStore/Fetcher/Fetcher.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ protected function fetch($ETag, $content) {
8686
$response = $client->get($this->getEndpoint(), $options);
8787
} catch (ConnectException $e) {
8888
$this->config->setAppValue('settings', 'appstore-fetcher-lastFailure', (string)time());
89-
throw $e;
89+
$this->logger->error('Failed to connect to the app store', ['exception' => $e]);
90+
return [];
9091
}
9192

9293
$responseJson = [];

0 commit comments

Comments
 (0)