Skip to content

Commit 7ab04ba

Browse files
authored
suppressed unnecessary error toast (opensearch-project#338)
Signed-off-by: Amardeepsingh Siglani <[email protected]> Signed-off-by: Amardeepsingh Siglani <[email protected]>
1 parent 492502e commit 7ab04ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/pages/Overview/models/OverviewViewModel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export class OverviewViewModelActor {
7878
}
7979
if (customResponse.ok) {
8080
customResponse.response.hits.hits.forEach((hit) => (ruleById[hit._id] = hit._source));
81-
} else {
81+
} else if (!customResponse.error?.includes('index doesnt exist')) {
8282
errorNotificationToast(
8383
this.notifications,
8484
'retrieve',

0 commit comments

Comments
 (0)