Couchbase require try-catch