Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PLAT-8277] Add maxEvents error message and update tests #1739

Merged
merged 2 commits into from May 18, 2022

Conversation

gingerbenw
Copy link
Member

Goal

To better clarify the reason for cancelled events when using plugin-simple-throttle

Changeset

Added a logger message in throttle.load when calling client.addOnError

Testing

Updated unit tests to check number of throttled calls and message wording

@github-actions
Copy link

github-actions bot commented May 17, 2022

@bugsnag/browser bundle size diff

Minified Minfied + Gzipped
Before 42.31 kB 12.94 kB
After 42.43 kB 12.98 kB
± ⚠️ +117 bytes ⚠️ +45 bytes

code coverage diff

Ok File Lines Branches Functions Statements
/home/runner/work/bugsnag-js/bugsnag-js/packages/plugin-simple-throttle/throttle.js 100%
(+0%)
100%
(+0%)
80%
(+0%)
91.67%
(+0.76%)

Total:

Lines Branches Functions Statements
84.65%(+0.01%) 73.95%(+0%) 84.01%(+0%) 83.71%(+0%)

Generated by 🚫 dangerJS against cc27e07

@gingerbenw
Copy link
Member Author

thanks @imjoehaines for the suggestions, definitely feels cleaner.

@gingerbenw gingerbenw merged commit fd26349 into next May 18, 2022
@gingerbenw gingerbenw mentioned this pull request May 18, 2022
@gingerbenw gingerbenw deleted the plat-8277-update-max-events-error-wording branch August 5, 2022 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants