-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(counters): move sales counters before plugins in log phase (#9744)
In case some errors are thrown in some plugin execution, it can cause the `sales_counters` to fail to increase. In order to address the above limitations, here we decide to move `sales_counters` ahead of all `plugins` in the `log` phase. * tests(*): add test case * tests(*): stop the mock server in teardown for cleaning environment * refactor(*): move analytics and sales_counters to `log.before`
- Loading branch information
Showing
3 changed files
with
166 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters