Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 5 column 16
---
title: Use StoreApiException to show proper errors from API
issue: NEXT-15299
author: Tobias Berge
author_email: [email protected]
author_github: @tobiasberge
---
- Changed
Shopware\Core\Framework\Store\Services\ExtensionDownloader
and addedShopware\Core\Framework\Store\Services\ExtensionLoader
as argument - Changed
Shopware\Core\Framework\Store\Services\ExtensionDownloader::download
and throwShopware\Core\Framework\Store\Exception\StoreApiException
instead ofGuzzleHttp\Exception\ClientException
- Changed
Resources/app/administration/.gitignore
and addedtest/_mocks_/entity-schema.json
- Added data prop
installationFailedError
toResources/app/administration/src/module/sw-extension/component/sw-extension-card-bought/index.js
in order to store errors from failed installation attempts - Changed method
downloadExtension
inResources/app/administration/src/module/sw-extension/service/extension-store-action.service.js
and pass contextShopware.Context.api
tobasicHeaders
call