Silently swallow request failures so that the create button isn't blocked (#26988)
This commit is contained in:
parent
7f4ac5d669
commit
17db63cca6
|
@ -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…
Reference in a new issue