diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2023-06-14 20:29:13 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2023-06-14 20:29:13 +0300 |
commit | 1860e2326f41382bd8c725ea867bf3a3e3c81133 (patch) | |
tree | 169ceab338843e02c3f62b1f07384ed91222fe28 /api/routes/getZblock | |
parent | d777daf5cfff0f9107efb4feecab671ed372c4fe (diff) | |
download | arching-kaos-tools-1860e2326f41382bd8c725ea867bf3a3e3c81133.tar.gz arching-kaos-tools-1860e2326f41382bd8c725ea867bf3a3e3c81133.tar.bz2 arching-kaos-tools-1860e2326f41382bd8c725ea867bf3a3e3c81133.zip |
Return an actual error message
Diffstat (limited to 'api/routes/getZblock')
-rw-r--r-- | api/routes/getZblock/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
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"}); } }); }; |