better logging

This commit is contained in:
Daniel Lugo 2020-12-11 11:51:50 -04:00
parent 35928aa54d
commit f66b60be2c

View file

@ -259,7 +259,7 @@ const listenerForAddr = (addr, SEA) => async (order, orderID) => {
stream.on('data', onData)
stream.on('status', (/** @type {any} */ status) => {
logger.info(`Post tip, post: ${postID}, invoice status: ${status}`)
logger.info(`Post tip, post: ${postID}, invoice status:`, status)
})
stream.on('end', () => {
logger.warn(`Post tip, post: ${postID}, invoice stream ended`)