28 Dec 2020 05:50 AM
Hi,
We are trying OpenKit. We learned that OpenKit has two ways to report when something goes wrong: Crash reporting and Error reporting.
Crash reporting:
https://github.com/Dynatrace/openkit-java/blob/main/docs/example.md#reporting-a-crash
Error reporting:
https://github.com/Dynatrace/openkit-java/blob/main/docs/example.md#report-an-error
I actually instrumented them and saw that the results were displayed on the screen, but I don't know exactly when to use them. I think these features are very similar.
Can anyone please tell me in what cases these features should be used?
Thanks,
Noah Kobayashi
Solved! Go to Solution.
28 Dec 2020 10:42 AM
Hello @Noah K.
Reading both shared links seems that reporting a crash is similar to the mobile application crashes, and errors can be similar to JavaScript errors or HTTP errors, or custom errors.
Regards,
Babar
04 Jan 2021 09:11 AM
Crashes are on a session level (example: the instrumented application unexpectedly wants to close).
Errors are linked to a user action (example: clicking on a button doesn't work). There are plans to make errors also reportable on a session level for when something goes wrong outside of a user action.
Mike
06 Jan 2021 03:57 AM
Thank you for your answer. Your explanation is helpful to me.