-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Error boundary #1882
Error boundary #1882
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
||
copyErrorToClipboard = async () => { | ||
await Clipboard.setString(this.getErrorMessage()); | ||
Alert.alert('Copied to clipboard', '', [{ text: 'OK' }], { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small thing here, can we move it to strings?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
QA Passed 👍
* error boundary init * Create our error screen * Move error boundary screen to views and remove unecessary library * Put the error boundary on more views * remove console log * Add alert to strings * update design
Description
Error boundary for catching errors, logging them to sentry and showing a nice error screen to the user.