aboutsummaryrefslogtreecommitdiffstats
path: root/routes
diff options
context:
space:
mode:
Diffstat (limited to 'routes')
-rw-r--r--routes/payments.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/routes/payments.js b/routes/payments.js
index b40419fa..33544fd7 100644
--- a/routes/payments.js
+++ b/routes/payments.js
@@ -283,7 +283,9 @@ export default {
body.amount,
body.address,
);
- bail(res, "problem estimating fee");
+ let msg = e.message;
+ if (msg.includes("500")) msg = "";
+ bail(res, "problem estimating fee " + msg);
}
},