Issue Bug Closed

#96054Command "language:update" does not log error on missing translations

Mathias Brodala 11/23/21, 09:53 updated 10/04/22, 14:17

Description

The CLI command language:update invokes LanguagePackService::languagePackDownload() for each active extension. Here a HTTP request is performed on the translation server which can fail with an exception on 404.

The RequestFactory::request() call here should be adjusted to include @[‘http_errors’ => false]@ to have Guzzle return the 404 response instead of throwing an exception. This would allow for logging this as a regular warning.

Reviews 2