import lombok.extern.slf4j.Slf4j;
import reactor.core.publisher.Mono;
-import java.io.IOException;
import java.net.SocketAddress;
import java.nio.ByteBuffer;
import java.nio.channels.SocketChannel;
socketChannel.close();
return Mono.just(instanceId);
}
- catch (IOException e)
+ catch (Exception e)
{
return Mono.error(e);
}