aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--routes/assets.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/assets.js b/routes/assets.js
index 65ca75aa..db227fb9 100644
--- a/routes/assets.js
+++ b/routes/assets.js
@@ -72,7 +72,7 @@ app.post("/assets", auth, async (req, res) => {
if (Math.round(funded.fee * SATS) > account.balance) {
l.error("amount exceeds balance", asset_amount, funded.fee, account.balance);
- throw new Error("Insufficient funds");
+ throw new Error(`Insufficient funds to pay fee of ${funded.fee} BTC`);
}
account.balance -= Math.round(funded.fee * SATS);