File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " tinect/matomo" ,
3- "version" : " 5.0.0 " ,
3+ "version" : " 5.0.1 " ,
44 "description" : " Matomo plugin for shopware 6" ,
55 "type" : " shopware-platform-plugin" ,
66 "license" : " MIT" ,
Original file line number Diff line number Diff line change @@ -51,8 +51,12 @@ public function __invoke(TrackMessage $message): void
5151 // Bulk tracking payload: enrich each request; do NOT also put params on URL
5252 try {
5353 $ parameter = $ this ->enrichRequests ($ parameter , $ commonParameters );
54- } catch (\JsonException ) {
55- $ this ->logger ->error ('No matomo url configured for Matomo tracking. ' );
54+ } catch (\JsonException $ exception ) {
55+ $ this ->logger ->error ('Error enriching request. ' , [
56+ 'parameter ' => $ parameter ,
57+ 'commonParameters ' => $ commonParameters ,
58+ 'message ' => $ exception ->getMessage (),
59+ ]);
5660 }
5761
5862 $ data = [
You can’t perform that action at this time.
0 commit comments