Skip to content

Commit

Permalink
suppressed unnecessary error toast (#338) (#342)
Browse files Browse the repository at this point in the history
Signed-off-by: Amardeepsingh Siglani <[email protected]>

Signed-off-by: Amardeepsingh Siglani <[email protected]>
(cherry picked from commit 7ab04ba)

Co-authored-by: Amardeepsingh Siglani <[email protected]>
  • Loading branch information
opensearch-trigger-bot[bot] and amsiglan authored Jan 11, 2023
1 parent 805a8e9 commit 1b71a62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/pages/Overview/models/OverviewViewModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export class OverviewViewModelActor {
}
if (customResponse.ok) {
customResponse.response.hits.hits.forEach((hit) => (ruleById[hit._id] = hit._source));
} else {
} else if (!customResponse.error?.includes('index doesnt exist')) {
errorNotificationToast(
this.notifications,
'retrieve',
Expand Down

0 comments on commit 1b71a62

Please sign in to comment.