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

feat: 429 http code handling in node/browser transports #2300

Merged
merged 1 commit into from Nov 8, 2019

Conversation

kamilogorek
Copy link
Contributor

No description provided.

@getsentry-bot
Copy link
Contributor

Warnings
⚠️ Please add a changelog entry for your changes.
Messages
📖 ✅ TSLint passed
📖

@sentry/browser bundle gzip'ed minified size: (ES5: 16.2754 kB) (ES6: 14.9912 kB)

Generated by 🚫 dangerJS against 21a76f8

@kamilogorek kamilogorek merged commit 08c703d into master Nov 8, 2019
@kamilogorek kamilogorek deleted the 429-handling branch November 8, 2019 15:36
global.fetch(this.url, defaultOptions).then(response => ({
status: Status.fromHttpCode(response.status),
})),
new SyncPromise<Response>(async (resolve, reject) => {
Copy link
Member

Choose a reason for hiding this comment

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

async forbidden in browser, adds a lot to bundle size.

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

4 participants