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: Add workaround for error messages on Android (std::runtime_error) #408

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

mrousavy
Copy link
Owner

@mrousavy mrousavy commented Dec 9, 2024

Because error messages are broken in react-native core, we need to add a workaround to explicitly catch std::runtime_error errors in a catch block so we can get the error message.

This is reported in #382 (and facebook/react-native#48027).

Unfortunately we have to add this workaround on Android now, even if it is nasty and won't work for all errors.

Copy link

vercel bot commented Dec 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
nitro-docs ⬜️ Skipped (Inspect) Dec 9, 2024 4:30pm

@mrousavy mrousavy changed the title fix: Add workaround for error messages on Android fix: Add workaround for error messages on Android (std::runtime_error) Dec 9, 2024
@mrousavy mrousavy merged commit 27e8cbb into main Dec 9, 2024
12 checks passed
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.

1 participant