diff --git a/src/services/main/paymentManager.ts b/src/services/main/paymentManager.ts index a917b3e6..a119e563 100644 --- a/src/services/main/paymentManager.ts +++ b/src/services/main/paymentManager.ts @@ -135,7 +135,7 @@ export default class { } async PayInvoice(userId: string, req: Types.PayInvoiceRequest, linkedApplication: Application): Promise { - this.log("paying invoice", req.invoice) + this.log("paying invoice", req.invoice, "for user", userId, "with amount", req.amount) const decoded = await this.lnd.DecodeInvoice(req.invoice) if (decoded.numSatoshis !== 0 && req.amount !== 0) { throw new Error("invoice has value, do not provide amount the the request") diff --git a/src/services/metrics/htlcTracker.ts b/src/services/metrics/htlcTracker.ts index 4a161663..80c087fa 100644 --- a/src/services/metrics/htlcTracker.ts +++ b/src/services/metrics/htlcTracker.ts @@ -89,7 +89,7 @@ export default class HtlcTracker { return this.incrementReceiveFailures(incomingChannelId) } } - this.log("unknown htlc event type for failure event") + this.log("unknown htlc event type for failure event", eventType) } handleSuccess = ({ eventType, outgoingHtlcId, incomingHtlcId }: EventInfo) => { @@ -104,7 +104,7 @@ export default class HtlcTracker { if (this.deleteMapEntry(incomingHtlcId, this.pendingReceiveHtlcs) !== null) return if (this.deleteMapEntry(outgoingHtlcId, this.pendingForwardHtlcs) !== null) return } else { - this.log("unknown htlc event type for success event") + this.log("unknown htlc event type for success event", eventType) } }