Repository navigation
feat(diagnostics): classified network errors and an in-app error log - #13
Merged
Merged
Conversation
ghostcoder42
commented
Oct 13, 2026
Owner
- fetch failures now classify into offline / unreachable (told apart by a connectivity probe), timeout (incl. RN-Android's "Fetch request has been canceled" abort wording), Cloudflare-blocked 403 (body sniffed), rate-limited, not-found, server and generic HTTP — carried on a FetchError with status/url and a raw detail kept for the log viewer
- the home/tag/model/author/category error states and the post error state render the classified localized message (the post state also gains a Retry button) instead of a hardcoded generic line
- every classified failure appends one line to documents/logs/error-log .txt (128KB soft cap, oldest-first trimming); Settings → Error log renders the file as selectable text — long-press to copy via the system menu — with share (whole log) and clear actions
💯 Test Coverage
😎 Tests Results
👀 Tests Details • (58%)
|
ghostcoder42
force-pushed
the
feat/error-diagnostics
branch
2 times, most recently
from
October 14, 2026 21:13
735b8d4 to
a9eb124
Compare
- fetch failures now classify into offline / unreachable (told apart by a connectivity probe), timeout (incl. RN-Android's "Fetch request has been canceled" abort wording), blocked 403 (the site's DDoS-Guard refuses non-browser clients with a bare "Access denied."), rate-limited, not-found, server and generic HTTP — carried on a FetchError with status/url and a raw detail kept for the log viewer - the home/tag/model/author/category error states and the post error state render the classified localized message (the post state also gains a Retry button) instead of a hardcoded generic line - every classified failure appends one line to documents/logs/error-log .txt (128KB soft cap, oldest-first trimming); Settings → Error log renders the file as selectable text — long-press to copy via the system menu — with share (whole log) and clear actions
ghostcoder42
force-pushed
the
feat/error-diagnostics
branch
from
October 14, 2026 21:16
a9eb124 to
6372447
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.