Better log

This commit is contained in:
Daniel Lugo 2021-10-18 14:36:07 -04:00
parent a550cf8534
commit 8eb7902e58

View file

@ -486,7 +486,7 @@ const listenerForAddr = (addr, SEA) => async (order, orderID) => {
throw new Error(breakError) throw new Error(breakError)
} }
} }
logger.info('WAITING INVOICE TO BE PAID') logger.info('Waiting for invoice to be paid for order ' + orderID)
new Promise(res => SchemaManager.addListenInvoice(invoice.r_hash, res)) new Promise(res => SchemaManager.addListenInvoice(invoice.r_hash, res))
.then(invoicePaidCb) .then(invoicePaidCb)
.catch(err => { .catch(err => {