From af0810ccb7d85d937607b85c7896acbaf9727902 Mon Sep 17 00:00:00 2001 From: tiennm99 Date: Wed, 26 Nov 2025 20:25:42 +0700 Subject: [PATCH] feat: not fatal if one failed --- couchbase/main.go | 1 - 1 file changed, 1 deletion(-) diff --git a/couchbase/main.go b/couchbase/main.go index 8dd1be4..4667fc7 100644 --- a/couchbase/main.go +++ b/couchbase/main.go @@ -121,7 +121,6 @@ func incrementCounter(col *gocb.Collection) error { // If it already exists, the count will increase by the amount provided in the Delta option(i.e 1). increment, err := col.Binary().Increment(counterDocId, &gocb.IncrementOptions{Initial: 1, Delta: 1}) if err != nil { - log.Fatal(err) return err } log.Printf("Counter : %d\n", increment.Content())