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

createNavigationContainer: rethrow the error instead of creating a new one #4533

Merged
merged 1 commit into from Jun 20, 2018

Conversation

christophehurpeau
Copy link

Creating a new error makes the stack unreadable in sentry, because the stack is stringified when the error is cast to string to create a new one.
Is there another reason to do that ?
Alternative possible solution would be to add a method to be able to handle the error ourselves ?

…w one

Creating a new error makes the stack unreadable in sentry, because the stack is stringified when the error is cast to string to create a new one.
Is there another reason to do that ?
Alternative possible solution would be to add a method to be able to handle the error ourselves ?
@codecov-io
Copy link

Codecov Report

Merging #4533 into master will not change coverage.
The diff coverage is 0%.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #4533   +/-   ##
======================================
  Coverage    68.2%   68.2%           
======================================
  Files          53      53           
  Lines        1739    1739           
======================================
  Hits         1186    1186           
  Misses        553     553
Impacted Files Coverage Δ
src/createNavigationContainer.js 46.15% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e1df2c6...9ee05f6. Read the comment docs.

@react-navigation-ci
Copy link

@brentvatne brentvatne merged commit 310b909 into react-navigation:master Jun 20, 2018
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