File tree Expand file tree Collapse file tree 1 file changed +4
-14
lines changed Expand file tree Collapse file tree 1 file changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -136,13 +136,8 @@ export const useStore = defineStore('store', () => {
136
136
try {
137
137
await notificationApiMutex . runExclusive ( ( ) => pAll (
138
138
checkedThreads . map ( thread => async ( ) => {
139
- try {
140
- await markNotificationAsRead ( thread . id , accessToken )
141
- deletedThreads . push ( thread . id )
142
- }
143
- catch ( error ) {
144
- console . error ( error )
145
- }
139
+ await markNotificationAsRead ( thread . id , accessToken )
140
+ deletedThreads . push ( thread . id )
146
141
} ) ,
147
142
{
148
143
stopOnError : false ,
@@ -170,13 +165,8 @@ export const useStore = defineStore('store', () => {
170
165
try {
171
166
await notificationApiMutex . runExclusive ( ( ) => pAll (
172
167
checkedThreads . map ( thread => async ( ) => {
173
- try {
174
- await unsubscribeNotification ( thread . id , accessToken )
175
- deletedThreads . push ( thread . id )
176
- }
177
- catch ( error ) {
178
- console . error ( error )
179
- }
168
+ await unsubscribeNotification ( thread . id , accessToken )
169
+ deletedThreads . push ( thread . id )
180
170
} ) ,
181
171
{
182
172
stopOnError : false ,
You can’t perform that action at this time.
0 commit comments