MoreCore Platform
Functionality
Error Handling and Logging
MOR-PLN-064 Version 1 Last Review Date: Nov, 2024

Error Handling and Logging

1. Overview

PlatformError Logging ServiceDescription
PortalSentry.ioDescription
AppApp CenterDescription

2. Sentry.io

Sentry is application monitoring software that provides a centralised logging service for errors occuring across the stack, even on the client side.

For each error logged with sentry, detailed user action steps and a stack trace is provided, simplifying the error resolution process.

2.1. Accessing Sentry.io

Our plan with Sentry.io allows each user to have their own account. If you don't have access, contact the administrator; the MoreCore System Manager.

2.2. Finding a Sentry error code

When an error occurs on the client side, an HTTP call occurs to log this error with Sentry. While collecting this error code from an end-user after the fact isn't really possible, if the error can be reproduced, then the code can be retrieved.

Open the developer tools in your browser (usually with F12).
Have the Network tab open so HTTP calls can be seen as they occur.
Reproduce the error in CMMS.
In the network tab, an outgoing HTTP request should occur. Within this will be a guid error code that can be serached for within Sentry.
Access Sentry.io.
Search for the code to find details on the error.

3. App Center

App Center is a Microsoft build agent and diagnostics center for mobile app management. Our Technician App is built through this service and reports errors and crashes to it.

3.1. Accessing App Center

Access to App Center is via your microsoft account and requires the administrator to have invited you.

3.2. Finding an error in App Center

When an error occurs in either the Android or iOS versions of the CBC CMMS Technician App, it is logged with App Center.

Access App Center
Select the appropriate app from the My Apps list (CMMS Android or CMMS iOS)
Click 'Diagnostics' on the left menu.
In the top right corner, select appropriate filters to see current diagnostic events
Click on an event to see more detail
Click 'Reports' to see data on an individual event.