-
-
Notifications
You must be signed in to change notification settings - Fork 329
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
Add isCrashed() property in SentryEvent Model #4552
Comments
We already have that; we need to make it public. We could consider making sentry-cocoa/Sources/Sentry/include/SentryEvent+Private.h Lines 11 to 35 in 1928267
We will discuss this internally and get back to you. |
We need to make all the public properties exposed in this PR read-only, and we agree that we can make these properties public. Feel free to open a PR to make these public, @KimTaeHyeong17. |
Problem Statement
As implementing Sentry sdk in both android and ios device, we wanted to make sure to implement same way in both os.
There were some difference in android/iOS sentry interface but one thing I hoped to be added is "isCrashed" property.
As an ios developer who wanted to distinguish crash event and normal event at beforeSend closure, I tried to find flag to whether event is crash event and I was able to find only at android sdk.
After that I was started to think what's the difference between event.logLevel fatal and isCrashed value
I planned to use loglevel fatal in ios, and isCrahsed in android but it seems bit wrong for determine crash event.
After getting answer from sentry team about this question and I understood clearly.
However if there is "isCrahsed" in sentry-cocoa too, it would be much clear for this usecase.
Solution Brainstorm
Are you willing to submit a PR?
No response
The text was updated successfully, but these errors were encountered: