slightly fix my bawlz

This commit is contained in:
2025-07-05 02:17:02 +00:00
parent 9ee3663890
commit eb5282a50d

View File

@ -187,8 +187,9 @@ const deleteNotification = async (notification: Notification) => {
} }
); );
if (!response.ok) { if (!response.ok) {
console.error(`Could not delete notification ID: ${notification.id}`); console.error(
console.error(response.statusText); `Could not delete notification ID: ${notification.id}\nReason: ${response.status} - ${response.statusText}`
);
} }
} catch (error: any) { } catch (error: any) {
throw new Error(error.message); throw new Error(error.message);