slightly fix my bawlz
This commit is contained in:
@ -187,8 +187,9 @@ const deleteNotification = async (notification: Notification) => {
|
||||
}
|
||||
);
|
||||
if (!response.ok) {
|
||||
console.error(`Could not delete notification ID: ${notification.id}`);
|
||||
console.error(response.statusText);
|
||||
console.error(
|
||||
`Could not delete notification ID: ${notification.id}\nReason: ${response.status} - ${response.statusText}`
|
||||
);
|
||||
}
|
||||
} catch (error: any) {
|
||||
throw new Error(error.message);
|
||||
|
Reference in New Issue
Block a user