{"record":{"id":"ea997aa479f4d312","repo":"diegosouzapw/OmniRoute","slug":"changelog-fetch-failed-with-res-status","errorCode":null,"errorMessage":"Changelog fetch failed with ${res.status}","messagePattern":"Changelog fetch failed with (.+?)","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"src/app/(dashboard)/dashboard/changelog/components/ChangelogViewer.tsx","lineNumber":93,"sourceCode":"        className=\"text-primary hover:underline\"\n      >\n        {children}\n      </a>\n    );\n  },\n};\n\nexport default function ChangelogViewer() {\n  const t = useTranslations(\"changelogPage\");\n  const [markdown, setMarkdown] = useState(\"\");\n  const [loading, setLoading] = useState(true);\n  const [error, setError] = useState(false);\n\n  useEffect(() => {\n    async function fetchChangelog() {\n      try {\n        const res = await fetch(CHANGELOG_RAW_URL, { cache: \"no-store\" });\n        if (!res.ok) throw new Error(`Changelog fetch failed with ${res.status}`);\n\n        const text = await res.text();\n        setMarkdown(getLatestChangelogMarkdown(text, 10));\n      } catch (err) {\n        console.error(err);\n        setError(true);\n      } finally {\n        setLoading(false);\n      }\n    }\n\n    fetchChangelog();\n  }, []);\n\n  if (loading) {\n    return (\n      <div className=\"flex flex-col items-center justify-center space-y-4 py-32\">\n        <span className=\"material-symbols-outlined animate-spin text-[32px] text-text-muted/50\">","sourceCodeStart":75,"sourceCodeEnd":111,"githubUrl":"https://github.com/diegosouzapw/OmniRoute/blob/a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d/src/app/(dashboard)/dashboard/changelog/components/ChangelogViewer.tsx#L75-L111","documentation":"Error \"Changelog fetch failed with ${res.status}\" thrown in diegosouzapw/OmniRoute.","triggerScenarios":"Thrown at src/app/(dashboard)/dashboard/changelog/components/ChangelogViewer.tsx:93 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d","analyzedAt":"2026-08-25T18:35:09.898Z","schemaVersion":2},"datasetVersion":"2026-08-25T21:54:21.419Z"}