Skip to content

Commit

Permalink
Ignore all error messages from aborts
Browse files Browse the repository at this point in the history
  • Loading branch information
joshenlim committed Aug 25, 2023
1 parent 013b767 commit 79497b5
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions studio/localStores/storageExplorer/StorageExplorerStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -1123,10 +1123,7 @@ class StorageExplorerStore {
},
index
)
} else if (
!res.error.message.includes('The user aborted a request') &&
!res.error.message.includes('Request signal is aborted')
) {
} else if (!res.error.message.includes('aborted')) {
this.ui.setNotification({
error: res.error,
category: 'error',
Expand Down Expand Up @@ -1166,10 +1163,7 @@ class StorageExplorerStore {
}
return col
})
} else if (
!res.error.message.includes('The user aborted a request') &&
!res.error.message.includes('Request signal is aborted')
) {
} else if (!res.error.message.includes('aborted')) {
this.ui.setNotification({
error: res.error,
category: 'error',
Expand Down

0 comments on commit 79497b5

Please sign in to comment.