diff --git a/kvs/rixxdb/tx.go b/kvs/rixxdb/tx.go index 27e6a8bc..8dab5834 100644 --- a/kvs/rixxdb/tx.go +++ b/kvs/rixxdb/tx.go @@ -19,6 +19,7 @@ import ( "github.com/abcum/rixxdb" "github.com/abcum/surreal/kvs" + "github.com/abcum/surreal/log" ) type TX struct { @@ -28,6 +29,7 @@ type TX struct { func one(res *rixxdb.KV, err error) (kvs.KV, error) { if err != nil { + log.WithPrefix("kvs").Errorln(err) return nil, &kvs.DBError{Err: err} } @@ -38,6 +40,7 @@ func one(res *rixxdb.KV, err error) (kvs.KV, error) { func many(res []*rixxdb.KV, err error) ([]kvs.KV, error) { if err != nil { + log.WithPrefix("kvs").Errorln(err) return nil, &kvs.DBError{Err: err} }