File tree Expand file tree Collapse file tree 4 files changed +9
-2
lines changed Expand file tree Collapse file tree 4 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 4040 configuration : phpunit.xml
4141 ssh_key : ${{ secrets.ssh_key }}
4242 ssh_key_pub : ${{ secrets.ssh_key_pub }}
43+
44+ - name : Capture PHPUnit Logs
45+ run : cat ./build/logs/junit.xml
Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ All notable changes to `shopware-php-sdk` will be documented in this file.
44
55Updates should follow the [ Keep a CHANGELOG] ( http://keepachangelog.com/ ) principles.
66
7+ ### 2.3.0
8+ - feat: adding the previous exception to the ShopwareResponseException when it's mapped in Client
9+ - fix: catching the ShopwareResponseException in AdminAuthenticator since a BadResponseException always gets mapped to it in Client::handleException()
10+
711### 2.2.0
812- Compatibility with Shopware 6.6.10.0
913- Update Criteria to support partial loading (Criteria.addFields)
Original file line number Diff line number Diff line change 33 "description" : " A PHP SDK for Shopware 6 Platform" ,
44 "type" : " library" ,
55 "license" : " MIT" ,
6- "version" : " 2.2 .0" ,
6+ "version" : " 2.3 .0" ,
77 "authors" : [
88 {
99 "name" : " vin" ,
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ public function fetchAccessToken(): AccessToken
6262 ]);
6363 } catch (ShopwareResponseException $ exception ) {
6464 throw new AuthorizationFailedException (
65- $ exception ->getResponse ()-> getBody ()-> getContents (),
65+ $ exception ->getMessage (),
6666 $ exception ->getCode (),
6767 $ exception
6868 );
You can’t perform that action at this time.
0 commit comments