diff --git a/src/main.ts b/src/main.ts index 438bd51..87a6802 100644 --- a/src/main.ts +++ b/src/main.ts @@ -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);