diff --git a/frontend/api/requests.ts b/frontend/api/requests.ts index 3e9345e90..b1b60b408 100644 --- a/frontend/api/requests.ts +++ b/frontend/api/requests.ts @@ -10,9 +10,7 @@ const request = { async safe(funcCall: any, url: string, data: object = {}): Promise> { const response = await funcCall(url, data).catch(function (error: object) { console.log(error); - // Insert Generic Error Handling Here - return { response: null, error, data: null }; }); return { response, error: null, data: response.data };