Overview
Error reporting for JavaScript errors include caught errors, uncaught errors, and warnings that are printed in the browser console for your web applications.
In Apptics, the JS errors page in Apptics gives you an overview of all the JavaScript errors and warnings for your web apps reported for the selected date range. The JS error reports include error logs, stack traces, device timeline, and other diagnostic info to determine the impact of an individual issue across app versions, OS versions, affected devices, device model, device id, and so on.
To start tracking the JS errors in your app, you need to integrate our SDK with your app. For SDK implementation, refer to
SDK guide for JS error tracking.
JS errors dashboard
- Navigate to Developer > JS errors. You can view the total number of JS errors, unique issues that caused the reported crashes, unique devices affected, and percentage of exception-free devices (crash free rate) for the selected date range.
- The charts help you visualize the number of errors and the timeline of errors that were reported over the selected date range for the web app.
- As you scroll to the bottom, you will see a list of all the unique issues along with details such as the issue description, the impacted OS version(s), app version(s), the total number of errors, and the total number of affected devices, and comments.
Analyze JS error reports
Error tracking in Apptics includes symbolicated crash reports and error logs, stack traces, threads, device details, crash environment, breadcrumbs, and other diagnostic information to debug and identify the root causes of issues.
- Click on the individual issue in the unique issues list to get more details.
- The timeline graph gives you the total number of JS errors that happened and the unique number of affected devices over time. You can view stats like the number of JS errors caused by the unique issue, the affected devices, and the latest affected app version.
- The other graphs give you an idea of the affected devices, OS versions, and app versions.
- You can find the all stack trace threads to help you debug and solve the issue.
- You can also view the full stack trace with raw data about the issue by clicking on the <> Raw text button.
- Click on js_error_trace.log to download the JS error log file if required for further analysis.
Analyze individual crash instances
- Click on Show list in the JS error details page and you will see a list of all the crash instances that happened due to the unique issue.
- The list includes details such as the affected device model, app version, OS version, device ID, time at which the crash happened, and the time at which it was received in Apptics.
- Click on the individual JS error instance to view the device timeline. It shows details of all the error instances reported for the device.
- The device timeline will give you the details on the device-specific information such as:
- Apptics SDK version
- App version
- OS version
- Network EDGE
- Device Id
- Click PII is available to get the user info like the user ID and email ID (if available).
- Click on View custom properties to check if any custom attributes have been tracked for the particular crash.
Analyze breadcrumbs and session data
Drill down further and analyze session data — the traces of the events, API calls, and screens that were triggered in during the session in which the error instance happened. You can click on
View user session details to view data for all the sessions associated with the device ID (and user ID if available).
- The events trace shows the events that occurred when the issue occurred.
- The API calls trace shows the list of all the API calls that were triggered while the issue occurred
- The screes trace shows the list of all the screens that were visited when the issue occurred.
Note: Viewing user info is a role-based action and only the project members with the appropiate roles and privileges can view it. Whenever the user info is viewed, a record is created in the audit logs for the project in the Apptics console as per Zoho's privacy policy.
Issue managment
Similar to crashes and non-fatal errors, you can prioritize JS errors, configure integrations with Zoho Projects and Zoho Cliq/Slack, and comment on issues. Refer to the
crashes guide for the same.