Operator called default onErrorDropped when document not found

Hi there,
I’m migrating SDK 2 in my project to Java SDK 3. (3.0.3)
My code looks like this:

   collection.getAndTouch(k, Duration.ofSeconds(expiry),
    .onErrorResume(DocumentNotFoundException.class, ex -> Mono.empty())

However, in the log, I’m getting logs from reactor:
Operator called default onErrorDropped
Stach trace:

com.couchbase.client.core.error.DocumentNotFoundException: Document with the given id not found
at com.couchbase.client.core.error.DefaultErrorUtil.keyValueStatusToException(DefaultErrorUtil.java:45)
at com.couchbase.client.java.kv.GetAccessor.lambda$getAndTouch$4(GetAccessor.java:103)

Why do I get these messages, isn’t the onErrorResume I’m doing should block the global hook? How can I avoid them?


this means that a downstream subscriber unsubscribed when the error happened. How does your full code look like?

well, the code is too large to post, but thanks for giving me a direction