Skip to content

Commit

Permalink
fix: Do not throw if appstore is unavailable during upgrade
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliushaertl committed Aug 16, 2024
1 parent f4f7c75 commit 9f532b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/private/App/AppStore/Fetcher/Fetcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ protected function fetch($ETag, $content) {
$response = $client->get($this->getEndpoint(), $options);
} catch (ConnectException $e) {
$this->config->setAppValue('settings', 'appstore-fetcher-lastFailure', (string)time());
throw $e;
$this->logger->error('Failed to connect to the app store', ['exception' => $e]);
return [];
}

$responseJson = [];
Expand Down

0 comments on commit 9f532b0

Please sign in to comment.