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

misc(browser): Log when event is dropped by Dedupe integration #3943

Merged
merged 2 commits into from Aug 31, 2021

Conversation

kamilogorek
Copy link
Contributor

@@ -27,6 +28,7 @@ export class Dedupe implements Integration {
// Juuust in case something goes wrong
try {
if (self._shouldDropEvent(currentEvent, self._previousEvent)) {
logger.warn(`Event dropped due to being a duplicate of previously captured event.`);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link
Contributor

github-actions bot commented Aug 31, 2021

size-limit report

Path Size
@sentry/browser - CDN Bundle (gzipped) 21.59 KB (-0.01% 🔽)
@sentry/browser - Webpack 22.61 KB (0%)
@sentry/react - Webpack 22.64 KB (0%)
@sentry/browser + @sentry/tracing - CDN Bundle (gzipped) 29.03 KB (0%)

@kamilogorek kamilogorek merged commit 9c516f5 into master Aug 31, 2021
@kamilogorek kamilogorek deleted the dedupe-log branch August 31, 2021 14:20
@kamilogorek
Copy link
Contributor Author

Ugh, right, thanks. Updated

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