cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Difference between Crash report and Error Report of OpenKit

nkobayashi1
Helper

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

3 REPLIES 3

Babar_Qayyum
DynaMight Guru
DynaMight Guru

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

Mike_L
Dynatrace Guru
Dynatrace Guru

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

Mike

Thank you for your answer. Your explanation is helpful to me.

Featured Posts