Handle unexpected exceptions better
This commit is contained in:
@ -296,5 +296,5 @@ export async function sendPushNotification(
|
||||
},
|
||||
);
|
||||
|
||||
if (!notifResp.ok) throw new Error(await notifResp.json());
|
||||
if (!notifResp.ok) throw new Error(await notifResp.text());
|
||||
}
|
||||
|
Reference in New Issue
Block a user