diff --git a/CHANGELOG.md b/CHANGELOG.md index f187215..ded289d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ ## Changelog +5.0.2 +- Fix merge issue in previous release + 5.0.1 - Compatibility with Matomo 5.0.0-b4 diff --git a/Queue/Processor/Handler.php b/Queue/Processor/Handler.php index a6d3b1d..a9543c1 100644 --- a/Queue/Processor/Handler.php +++ b/Queue/Processor/Handler.php @@ -64,8 +64,8 @@ public function process(Tracker $tracker, RequestSet $requestSet) // Since the config should only be enabled during debugging, we should be alright using plain text $message .= "\nFailed request set:\n" . json_encode($requestSet->getState()); } - // TODO - Switch this to use \Piwik\Log\LoggerInterface for Matomo 5 release - StaticContainer::get(\Psr\Log\LoggerInterface::class)->warning($message); + + StaticContainer::get(\Piwik\Log\LoggerInterface::class)->warning($message); // Wrap any throwables so that they are caught by the try/catch in Processor, which is expecting Exceptions throw ($th instanceof \Exception ? $th : new \Exception($th->getMessage(), $th->getCode(), $th)); diff --git a/plugin.json b/plugin.json index 8719217..a7a537c 100644 --- a/plugin.json +++ b/plugin.json @@ -1,6 +1,6 @@ { "name": "QueuedTracking", - "version": "5.0.1", + "version": "5.0.2", "description": "Scale your large traffic Matomo service by queuing tracking requests in Redis or MySQL for better performance and reliability when experiencing peaks.", "theme": false, "keywords": ["tracker", "tracking", "queue", "redis"],