mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 06:37:56 -04:00
fix: Do not throw if appstore is unavailable during upgrade
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
7efd244956
commit
3ca7480829
1 changed files with 2 additions and 1 deletions
|
|
@ -86,7 +86,8 @@ abstract class Fetcher {
|
|||
$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 = [];
|
||||
|
|
|
|||
Loading…
Reference in a new issue