forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle importing invalid types (elastic#10666)
* show service errors but resolve promise By handling service failures explicitely, the error doesn't bubble up the promise chain, so tasks that have to happen after it, like refreshing the index and data, still happen, and the UI will be in sync with the data in the .kibana index * throw error on invalid saved object type * append useful info to the type error message
- Loading branch information
Showing
2 changed files
with
23 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters