From 1860e2326f41382bd8c725ea867bf3a3e3c81133 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Wed, 14 Jun 2023 20:29:13 +0300 Subject: Return an actual error message --- api/routes/getZblock/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api/routes') diff --git a/api/routes/getZblock/index.js b/api/routes/getZblock/index.js index 5e5138a..67626d6 100644 --- a/api/routes/getZblock/index.js +++ b/api/routes/getZblock/index.js @@ -36,7 +36,7 @@ function fetchZblock(zblock, res){ res.send({"error":error}); } } else { - res.send({"error":"error"}); + res.send({"error":"invalid or unreachable"}); } }); }; -- cgit v1.2.3