This commit is contained in:
vineyardbovines
2026-04-15 08:46:16 -04:00
parent a97744d600
commit 3d09ee8bb2
2 changed files with 28 additions and 38 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ function createKlipyApi<Input extends object>(
},
})
if (!res.ok) {
throw new Error('Failed to fetch KLIPY API')
throw new Error(`Failed to fetch KLIPY API (status ${res.status})`)
}
const body: {next: string; results: Gif[]} = await res.json()
return {