You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ConsistencyChecker calls .json() without checking response.ok #163
ConsistencyChecker calls .json() without checking response.ok
Severity: High File:frontend/src/pages/Review/ConsistencyChecker.tsx:387
The loadHistoryFindings function fetches findings and review details, then immediately calls .json() on both responses without checking if they succeeded. If the backend returns 404 or 500, .json() throws a SyntaxError when trying to parse the error HTML.
When a review record is deleted or the backend is down, the page crashes with an unhandled promise rejection. Users see an error boundary instead of a "not found" message.
Activity