fix: non-error was thrown

This commit is contained in:
José Oliveira 2021-03-03 19:25:39 +00:00 committed by Josh Harvey
parent 5d45cf456c
commit a5837002bd

View file

@ -65,7 +65,7 @@ function sendCoins (account, address, cryptoAtoms, cryptoCode) {
case 'failed': case 'failed':
throw new pRetry.AbortError(res[0].error) throw new pRetry.AbortError(res[0].error)
case 'executing': case 'executing':
reject(res[0].error) reject(new Error('operation still executing'))
break break
} }
}) })