-
-
Notifications
You must be signed in to change notification settings - Fork 318
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
reportUserException in 7.x.x version #1143
Comments
Hi, maybe |
Thank you for the comment. I am currently using
|
If you want to crash the app you can use |
I consider this question as answered. Feel free to open the issue again. |
I am afraid that You may check the differences how it worked on 4.X.X version and the one with |
Hey @dyomin-d, the whole SDK concept changed a lot from 4.x.x to 7.x.x. You don't need to specify, the reason, language, lineOfCode, stackTrace, and logAllThreads anymore, if you enable |
Maybe you can describe your use case a bit better so I can maybe point out another solution. I don't fully understand why you want to terminate your application after you captured an error. |
Issue
I have upgraded Sentry version from 4.x.x to 7.x.x. One of the parts of my code consisted of the following command:
The main idea was to crash the app once the event is sent. However, there are no alternatives of this function in the newest version. If I use just
SentrySDK.crash()
, it won't send my custom error. Let me know how I may implement the same logic with the current version or please add this possibility in a new version.The text was updated successfully, but these errors were encountered: