Update RedissonRemoteService.java

Log error when can't process the remote service request

Signed-off-by: Manuel Polo <mrmx@users.noreply.github.com>
pull/5427/head
Manuel Polo 1 year ago
parent 047e9661de
commit 1c6c3ca9f0
No known key found for this signature in database
GPG Key ID: 225EFA9B34C561E3

@ -364,6 +364,13 @@ public class RedissonRemoteService extends BaseRemoteService implements RRemoteS
} else { } else {
executeMethod(remoteInterface, requestQueue, executor, request, bean); executeMethod(remoteInterface, requestQueue, executor, request, bean);
} }
})
.exceptionally(exc -> {
if (exc instanceof RedissonShutdownException) {
return null;
}
log.error("Can't process the remote service request with id {}", requestId, exc);
return null;
}); });
}); });
} }

Loading…
Cancel
Save