Error Reporting

🚨 Error Reporting & Privacy Notice

To help us maintain the accuracy and stability of GluClue, the application includes a user-initiated error reporting feature.

1. What Happens When an Error Occurs

When a critical error is detected during a key operation (like data synchronization or calculation), the app does not crash or send any information silently. Instead, the app surfaces a message asking the user if they wish to report the issue.

2. Data Collection Policy (No PHI)

If the user chooses to report the issue, GluClue collects only the technical information required to diagnose the code failure.

The following medical or personal data is strictly NOT collected or included in the report:

  • ❌ Glucose Readings, Food Entries, or Insulin Doses (Protected Health Information – PHI)
  • ❌ User’s Name, Email Address, or Phone Number (GluClue never asks for this)
  • ❌ Your personal account ID or unique device identifier

3. What the Report Collects

The app uses the built-in DomainError structure to capture the following technical data:

  • App Information: The version number of the GluClue app (BuildConfig.VERSION_NAME).
  • Error Details: A human-readable summary of the problem (DomainError.message).
  • Technical Context: The full stack trace (DomainError.technicalDetails). This is a technical log of the exact lines of code that failed, which is required for debugging.
  • Timestamp: The date and time the error occurred.
  • Error Type: The classification of the error (e.g., Network, Database, DataValidation).

4. User Consent and Sending the Email

The report is never sent automatically or silently.

  1. Preparation: GluClue uses the technical data listed above to draft an email.
  2. User Review: The app immediately launches your device’s default email client, presenting the pre-filled draft email for your review.
  3. Sending: The email is only sent if you explicitly press the “Send” button within your email application. You have full control and can review or edit the content before it leaves your device.

By utilizing this system, GluClue can be fixed quickly and safely while preserving your privacy and adherence to HIPAA guidelines.

Leave a Comment