Skip to content

feat(core): non-fatal 오류 계측 확대 — 홈·애프터노트 흐름의 handled 실패 기록 #544

Description

@1hyok

📜 Overview (Required)

#536 으로 ErrorReporter(core:common 추상 + app Crashlytics 바인딩)가 들어오지만 계측 지점은 온보딩(소셜 로그인·회원가입)에 한정된다. 나머지 흐름의 handled 실패는 여전히 Result.failure → 스낵바 한 줄로 끝나고 콘솔에는 흔적이 남지 않아, 배포본에서 재현되지 않으면 원인 파악이 불가능한 구조가 그대로 남는다.

담당 영역 실측(2026-07-27): onFailure 로 실패를 흡수하는 파일이 app(홈·수신자 홈) 2개 + feature:afternote presentation 11개 = 13개.

작업 내용:

  • 아래 지점에 ErrorReporter.recordFailure 계측 추가
    • 애프터노트 등록·수정 실패 (AfternoteEditorViewModel)
    • 미디어 업로드 실패 (FuneralVideoUpload, DocumentUploadViewModel)
    • 수신자 본인확인 (IdentityVerificationViewModel, MasterKeyViewModel)
    • 상세 로드·삭제 실패 (AfternoteDetailViewModel, ReceivedAfternoteDetailViewModel)
    • 홈 요약 로드 실패 (HomeTabViewModel, ReceiverHomeViewModel)
  • 키 규격 판단: 온보딩의 AuthFailureStage/AuthProvider 는 현재 onboarding presentation 내부 전용이다. 흐름별 stage 키를 공통 규격으로 끌어올릴지, 모듈별로 따로 둘지 결정한다.

📍 Note (Optional)

Activity

  1. self-assigned this
    on Jul 27, 2026
  2. added theissue type on Jul 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions