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
[TIMOB-25955] Support crash analytics refactor #10190
Conversation
ae1539e
to
6b37366
Compare
cd403fa
to
8b000db
Compare
Generated by 🚫 dangerJS |
b117384
to
bbcf5ae
Compare
iphone/Classes/KrollContext.m
Outdated
@@ -659,7 +659,6 @@ - (void)invoke:(KrollContext *)context | |||
id excm = [KrollObject toID:context value:exception]; | |||
[[TiExceptionHandler defaultExceptionHandler] reportScriptError:[TiUtils scriptErrorValue:excm]]; | |||
pthread_mutex_unlock(&KrollEntryLock); | |||
@throw excm; |
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.
why not throw the exception?
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.
We already handle the exception on the lines above. Throwing an exception causes the app to crash with an exception that cannot be caught since it's throwing a KrollObject
and not a valid exception.
@garymathews With the merge from |
fce5742
to
0f9c6df
Compare
JIRA Ticket