mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Silently swallow request failures so that the create button isn't blocked (#26988)
This commit is contained in:
parent
7f4ac5d669
commit
17db63cca6
1 changed files with 6 additions and 2 deletions
|
@ -50,8 +50,12 @@ export class RollupIndexPatternCreationConfig extends IndexPatternCreationConfig
|
|||
}
|
||||
|
||||
async setRollupIndices() {
|
||||
this.rollupIndicesCapabilities = await getRollupIndices();
|
||||
this.rollupIndices = Object.keys(this.rollupIndicesCapabilities);
|
||||
try {
|
||||
this.rollupIndicesCapabilities = await getRollupIndices();
|
||||
this.rollupIndices = Object.keys(this.rollupIndicesCapabilities);
|
||||
} catch (e) {
|
||||
// Silently swallow failure responses such as expired trials
|
||||
}
|
||||
}
|
||||
|
||||
async getIndexPatternCreationOption(urlHandler) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue