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', () => {
136136 try {
137137 await notificationApiMutex . runExclusive ( ( ) => pAll (
138138 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 )
146141 } ) ,
147142 {
148143 stopOnError : false ,
@@ -170,13 +165,8 @@ export const useStore = defineStore('store', () => {
170165 try {
171166 await notificationApiMutex . runExclusive ( ( ) => pAll (
172167 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 )
180170 } ) ,
181171 {
182172 stopOnError : false ,
You can’t perform that action at this time.
0 commit comments