Frontend API client catch blocks swallow all exceptions #23
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: Medium
The
catch { // ignore }blocks in therequest()function ink-tv-frontend/lib/api.tsswallow ALL exceptions, not just JSON parse errors.This makes debugging impossible — network errors, auth failures, and server errors all silently disappear. Catch only the specific errors you intend to handle.