From 941c2f5961e86226a032a2c9071d70e85ac87c14 Mon Sep 17 00:00:00 2001 From: Marshall Polaris Date: Sat, 9 Jul 2022 00:14:18 -0700 Subject: [PATCH] Remove unhelpful toString on APIError --- web/lib/firebase/api-call.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/web/lib/firebase/api-call.ts b/web/lib/firebase/api-call.ts index 55a6ffa0..ef0cad1e 100644 --- a/web/lib/firebase/api-call.ts +++ b/web/lib/firebase/api-call.ts @@ -10,9 +10,6 @@ export class APIError extends Error { this.name = 'APIError' this.details = details } - toString() { - return this.name - } } export async function call(url: string, method: string, params: any) {