Add failure message to wait timeout function

This commit is contained in:
Westly Wright 2018-07-17 13:16:03 -07:00
parent 557ac28bf4
commit a2aab416f8
No known key found for this signature in database
GPG Key ID: 4FAB3D8673DC54A3
1 changed files with 1 additions and 1 deletions

View File

@ -576,7 +576,7 @@ export default Mixin.create({
var timeout = setTimeout(() => {
clearInterval(interval);
clearTimeout(timeout);
reject(this);
reject(`Failed while: ${ msg }`);
}, get(this, 'waitTimeout'));
var interval = setInterval(() => {