Skip to content

Commit

Permalink
Merge pull request #222 from matomo-org/fix-merge-issue
Browse files Browse the repository at this point in the history
Fix merge issue
  • Loading branch information
snake14 authored Aug 9, 2023
2 parents 5933b12 + 5f2c362 commit 401825c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## Changelog

5.0.2
- Fix merge issue in previous release

5.0.1
- Compatibility with Matomo 5.0.0-b4

Expand Down
4 changes: 2 additions & 2 deletions Queue/Processor/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
2 changes: 1 addition & 1 deletion plugin.json
Original file line number Diff line number Diff line change
@@ -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"],
Expand Down

0 comments on commit 401825c

Please sign in to comment.