We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cf84ff0 + 0aba249 commit 37b7fc0Copy full SHA for 37b7fc0
1 file changed
wcfsetup/install/files/lib/system/package/PackageUpdateDispatcher.class.php
@@ -3,6 +3,7 @@
3
namespace wcf\system\package;
4
5
use GuzzleHttp\Exception\ClientException;
6
+use GuzzleHttp\Exception\ServerException;
7
use GuzzleHttp\Psr7\Request;
8
use GuzzleHttp\RequestOptions;
9
use Psr\Http\Client\ClientExceptionInterface;
@@ -221,6 +222,10 @@ private function fetchPackageUpdateXML(PackageUpdateServer $updateServer): void
221
222
$e->getResponse()->getBody(),
223
$updateServer,
224
);
225
+ } catch (ServerException $e) {
226
+ throw new SystemException(
227
+ WCF::getLanguage()->get('wcf.acp.package.update.error.listNotFound') . ' (' . $e->getResponse()->getStatusCode() . ')'
228
+ );
229
}
230
231
if ($response->getStatusCode() !== 200 && $response->getStatusCode() !== 304) {
0 commit comments