diff --git a/src/http.ts b/src/http.ts index e51e2a2..268dffc 100644 --- a/src/http.ts +++ b/src/http.ts @@ -1526,7 +1526,7 @@ export class LemmyHttp { try { json = await response.json(); - } catch (error) { + } catch (_) { throw new Error(response.statusText); }