Skip to content

Conversation

@kamilogorek
Copy link
Contributor

Because framesToPop is not used in RN or React anymore.

@kamilogorek kamilogorek requested review from AbhiPrasad and HazAT July 8, 2020 09:37
@getsentry-bot
Copy link
Contributor

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

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

📖 ✅ TSLint passed

Generated by 🚫 dangerJS against 0618071

if (typeof ex.framesToPop === 'number') {
popSize = ex.framesToPop;
} else if (reactMinifiedRegexp.test(ex.message)) {
popSize = 1;
Copy link
Member

Choose a reason for hiding this comment

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

Are we sure this will always be 1?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@kamilogorek kamilogorek merged commit b1f0c6a into master Jul 8, 2020
@kamilogorek kamilogorek deleted the handle-react-stack branch July 8, 2020 11:19
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.

4 participants