From 54c91d57a37ae0a89e8d9eba1f73467f9bd965f3 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 21 Jan 2026 19:25:59 +0000 Subject: logging --- lib/nwc.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'lib/nwc.ts') diff --git a/lib/nwc.ts b/lib/nwc.ts index 50b7e411..57e48f95 100644 --- a/lib/nwc.ts +++ b/lib/nwc.ts @@ -176,14 +176,14 @@ const handle = (method, params, ev, app, user) => } if (max_amount > 0 && spent + amount > max_amount) { - warn( - "budget exceeded", - pubkey, - user?.username, - spent, - amount, - max_amount, - ); + // warn( + // "budget exceeded", + // pubkey, + // user?.username, + // spent, + // amount, + // max_amount, + // ); return error({ code: "QUOTA_EXCEEDED", message: `Budget exceeded: ${spent + amount} of ${max_amount}`, -- cgit v1.2.3