aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-03-18 11:37:33 -0700
committerAdam Soltys <[email protected]>2026-03-18 11:37:33 -0700
commit42a90f201d03aa96d004e6c3cf3f37f5afd8d1ee (patch)
treef33386ca2ecc6926a506d00d405d1e1db1d770ce
parentf677540cf8548a03fb354536ec70b6186e812eae (diff)
downloadcoinos-server-42a90f201d03aa96d004e6c3cf3f37f5afd8d1ee.tar.gz
coinos-server-42a90f201d03aa96d004e6c3cf3f37f5afd8d1ee.zip
listener logs
-rw-r--r--lib/lightning.ts2
-rw-r--r--routes/users.ts3
2 files changed, 2 insertions, 3 deletions
diff --git a/lib/lightning.ts b/lib/lightning.ts
index bd8f0f9c..764ce627 100644
--- a/lib/lightning.ts
+++ b/lib/lightning.ts
@@ -21,7 +21,7 @@ export async function listenForLightning() {
try {
const payIndex = (await g("pay_index")) || 0;
- l(`lightning listener: waiting for invoice (pay_index=${payIndex})`);
+ // l(`lightning listener: waiting for invoice (pay_index=${payIndex})`);
const inv = await lnListen.waitanyinvoice(payIndex);
const {
diff --git a/routes/users.ts b/routes/users.ts
index 7901df4e..128a2b72 100644
--- a/routes/users.ts
+++ b/routes/users.ts
@@ -166,8 +166,7 @@ export default {
const user = await getNostrUser(key);
res.send(pick(user, fields));
} catch (e) {
- err("problem getting user", key, e.message);
- res.code(500).send(e.message);
+ res.code(404).send("User not found");
}
},