File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8+ ## [ v1.4.1] - 2021-09-29
9+
10+ ### Fixed
11+
12+ - Fix exception message retrieving from error collection
13+
814## [ v1.4.0] - 2021-08-17
915
1016### Changed
Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ public function __construct(
8585 $ this ->serializer = $ serializer ;
8686 $ this ->resolver = $ resolver ;
8787 $ this ->requestPool = $ requestPool ?: new Pool ($ client );
88+ $ this ->errors = new Errors ();
8889 }
8990
9091 /**
@@ -312,7 +313,7 @@ public function sendRequestPool(int $concurrencyLimit = 5)
312313 }
313314
314315 } catch (PoolException $ e ) {
315- $ this ->errors = $ this ->requestPool ->getErrors ();
316+ $ this ->errors = clone $ this ->requestPool ->getErrors ();
316317
317318 throw new EntityManagerException ("Request failed! \nReason: \n" .$ this ->errors ->getFullMessage ());
318319 } finally {
You can’t perform that action at this time.
0 commit comments