carp-dk / carp-dk/carp_study_app

feat(errors): forward CAMS warnings and swallowed exceptions as breadcrumbs

Open
#627 0 comments 0 reactions 1 assignee Claimed by @Zeroupper View on GitHub
Dominant language
Dart
Stars
10
Forks
5
Avg merge
1d 5h
Merged PRs (30d)
13

Description

## Problem
(verified) Failures currently vanish into `warning(...)` console logs that are no-ops in release — e.g., token-refresh failure (`lib/data/carp_backend.dart:72-75`), auth failure (:97-99), consent-upload failure (:232-236). There is no file or remote sink.

## Proposed fix
Route the app's `warning()`/`error()` paths into the crash reporter as breadcrumbs/non-fatals (post-scrubbing, see the privacy EPIC), so field issues like #443 and #498 become diagnosable.

## Acceptance criteria
- [ ] A failed token refresh in the field is visible as a non-fatal with a breadcrumb trail

**Effort:** S · **Priority:** P2 · **Change risk:** Low

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.