Debug log message when createIndexPattern succeeds.
This commit is contained in:
parent
895447e24c
commit
acce83cdbc
1 changed files with 2 additions and 0 deletions
|
@ -298,6 +298,8 @@ define(function (require) {
|
||||||
.then(function (currentUrl) {
|
.then(function (currentUrl) {
|
||||||
if (!currentUrl.match(/indices\/.+\?/)) {
|
if (!currentUrl.match(/indices\/.+\?/)) {
|
||||||
throw new Error('Index pattern not created');
|
throw new Error('Index pattern not created');
|
||||||
|
} else {
|
||||||
|
common.debug('Index pattern created: ' + currentUrl);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue