Handle unexpected exceptions better

This commit is contained in:
2023-10-19 16:51:17 -04:00
parent 8f05c3294a
commit 8967818fcc
2 changed files with 9 additions and 2 deletions

View File

@ -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());
}