aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--routes/lightning/send.js2
-rw-r--r--routes/payments.js1
2 files changed, 2 insertions, 1 deletions
diff --git a/routes/lightning/send.js b/routes/lightning/send.js
index f6bd1b36..f3c0da46 100644
--- a/routes/lightning/send.js
+++ b/routes/lightning/send.js
@@ -5,7 +5,7 @@ module.exports = ah(async (req, res) => {
try {
res.send(await send(amount, memo, payreq, user));
} catch (e) {
- l.error("problem sending lightning payment", user.username, e.message);
+ l.error("problem sending lightning payment", user.username, e.message, e.stack);
res.status(500).send(e.message);
}
});
diff --git a/routes/payments.js b/routes/payments.js
index 29428bb1..70b711da 100644
--- a/routes/payments.js
+++ b/routes/payments.js
@@ -2,6 +2,7 @@ const BitcoinCore = require("@asoltys/bitcoin-core");
const { Op } = require("sequelize");
const { join } = require("path");
const fs = require("fs");
+const lnd = require("../lib/lnd");
const read = require("../lib/read");
ah(async () => {