improve handling of ratchet error
This commit is contained in:
parent
fc17d2cdf8
commit
d7a5734818
4 changed files with 6 additions and 3 deletions
|
|
@ -245,7 +245,6 @@ function preProcess (oldTx, newTx, pi) {
|
|||
const hasDispenseOccurred = !dispenseOccurred(oldTx.bills) && dispenseOccurred(newTx.bills)
|
||||
|
||||
if (hasError || hasDispenseOccurred) {
|
||||
console.log('DEBUG100')
|
||||
return logDispense(updatedTx)
|
||||
.then(updateCassettes(updatedTx))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue