From 8a09a4b4c3c26c1304a6698d9826c80ff0d05249 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Tue, 3 Dec 2019 11:48:16 +0000 Subject: [PATCH] Remove error logging from kvs package --- kvs/rixxdb/tx.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/kvs/rixxdb/tx.go b/kvs/rixxdb/tx.go index 8dab5834..27e6a8bc 100644 --- a/kvs/rixxdb/tx.go +++ b/kvs/rixxdb/tx.go @@ -19,7 +19,6 @@ import ( "github.com/abcum/rixxdb" "github.com/abcum/surreal/kvs" - "github.com/abcum/surreal/log" ) type TX struct { @@ -29,7 +28,6 @@ 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} } @@ -40,7 +38,6 @@ 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} }