mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
always pass error from Common.handleError
This commit is contained in:
parent
bfceda5870
commit
00494f6e43
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ define(function (require) {
|
|||
var filename = path.resolve(['./screenshot', now, testName, '.png'].join('_'));
|
||||
|
||||
return self.saveScreenshot(filename)
|
||||
.then(function () {
|
||||
.finally(function () {
|
||||
throw new Error(reason);
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue