Skip to content

Commit

Permalink
fix return type
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkime committed Sep 22, 2020
1 parent ae0d9ee commit 305f3f8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,6 @@ export class IndexPatternsService {
} catch (err) {
if (err instanceof IndexPatternMissingIndices) {
this.onNotification({ title: (err as any).message, color: 'danger', iconType: 'alert' });
return {};
}

this.onError(err, {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/data/public/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ export {
fieldList,
} from '../common';

export * from '../common/index_patterns/errors';
export { DuplicateIndexPatternError } from '../common/index_patterns/errors';

/*
* Autocomplete query suggestions:
Expand Down

0 comments on commit 305f3f8

Please sign in to comment.