all repos — litestore @ 7a382977952edd43025d4c93668223f403e14edb

A minimalist nosql document store.

Now printing result of operations executed from command line
h3rald h3rald@h3rald.com
Wed, 06 May 2020 10:27:15 +0200
commit

7a382977952edd43025d4c93668223f403e14edb

parent

fd38e1b5d8ec1b92e828fad098063a8332bacd84

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M src/litestore.nimsrc/litestore.nim

@@ -60,8 +60,10 @@ req.hostname = "<cli>"

req.url = parseUri("$1://$2:$3/$4" % @["http", "localhost", "9500", uri]) let resp = req.process(LS) if resp.code.int < 300 and resp.code.int >= 200: + echo resp.content quit(0) else: + echo resp.content quit(resp.code.int) # stores: {