Fixed exception when github is not reachable

This commit is contained in:
Jan Böhmer 2026-05-01 20:21:58 +02:00
parent 43b9441bb8
commit bd686ed9b3

View file

@ -105,6 +105,6 @@ class UpdateAvailableFacade
return $this->updateCache->get(self::CACHE_KEY, function (ItemInterface $item) {
$item->expiresAfter(self::CACHE_TTL);
return $this->updateChecker->getLatestVersion();
});
}) ?? ['version' => '0.0.1', 'url' => 'update-checking-failed'];
}
}