forked from cerc-io/laconicd-deprecated
Thomas E Lackey
0adc932400
Whenever a key is used which doesn't exist in the DB at all, an error is returned like this: ``` [ { message: `rpc error: code = Unknown desc = store doesn't have key: "\\atypeApplicationRecord"`, path: [ 'queryRecords' ] } ] ``` That doesn't make any sense, as it is not an error to find out that the thing you asked for does not exist. This changes it to return an empty list. Reviewed-on: cerc-io/laconicd#121 Reviewed-by: David Boreham <dboreham@noreply.git.vdb.to> Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com> Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com> |
||
---|---|---|
.. | ||
grpc_query_test.go | ||
grpc_query.go | ||
invariants.go | ||
keeper_test.go | ||
keeper.go | ||
msg_server.go | ||
naming_keeper.go | ||
params.go | ||
record_keeper.go | ||
sync.go |