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

fix: SDK name for serverless #2976

Closed
wants to merge 1 commit into from
Closed

fix: SDK name for serverless #2976

wants to merge 1 commit into from

Conversation

HazAT
Copy link
Member

@HazAT HazAT commented Oct 15, 2020

Transactions have the wrong SDK name since the event handler will not be added. We need to use GlobalEventhandler to always set the SDK name correctly.

image

@github-actions
Copy link
Contributor

size-limit report

Path Size
@sentry/browser - CDN Bundle (gzipped) 18.35 KB (+0.01% 🔺)
@sentry/browser - Webpack 19.17 KB (0%)
@sentry/react - Webpack 19.17 KB (0%)
@sentry/browser + @sentry/tracing - CDN Bundle (gzipped) 25.29 KB (0%)

],
version: SDK_VERSION,
};

addExceptionMechanism(event, {
handled: false,
});
Copy link
Contributor

Choose a reason for hiding this comment

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

We should probably move all of addServerlessEventProcessor, otherwise we'd be applying only some parts of what was originally intended

@HazAT HazAT closed this Oct 20, 2020
@HazAT HazAT deleted the fix/sdk-name-serverless branch October 20, 2020 09:27
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