From e8283c3ba7f2e128efab97455265119b39abec85 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Wed, 31 Jul 2024 17:58:02 -0400 Subject: [PATCH] Fixing --- src/http.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http.ts b/src/http.ts index 268dffc..d7f7717 100644 --- a/src/http.ts +++ b/src/http.ts @@ -1526,7 +1526,7 @@ export class LemmyHttp { try { json = await response.json(); - } catch (_) { + } catch { throw new Error(response.statusText); }