This just tweaks the kbn-es error message to provide more context than just `Not Found`
This commit is contained in:
parent
95a3aa356b
commit
7eccf8b4ad
|
@ -89,7 +89,7 @@ function downloadFile(url, dest, log) {
|
|||
}
|
||||
|
||||
if (!res.ok) {
|
||||
return reject(new Error(res.statusText));
|
||||
return reject(new Error(`Unable to download elasticsearch snapshot: ${res.statusText}`));
|
||||
}
|
||||
|
||||
const stream = fs.createWriteStream(downloadPath);
|
||||
|
|
Loading…
Reference in a new issue