fix: non-error was thrown
This commit is contained in:
parent
5d45cf456c
commit
a5837002bd
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ function sendCoins (account, address, cryptoAtoms, cryptoCode) {
|
|||
case 'failed':
|
||||
throw new pRetry.AbortError(res[0].error)
|
||||
case 'executing':
|
||||
reject(res[0].error)
|
||||
reject(new Error('operation still executing'))
|
||||
break
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue