From c6271da975e5796fd100cc0666e3f518cb427a7b Mon Sep 17 00:00:00 2001 From: Simon Dumas Date: Thu, 12 Oct 2023 18:38:51 +0200 Subject: [PATCH] Remove println --- .../plugins/elasticsearch/client/ElasticSearchClient.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/delta/plugins/elasticsearch/src/main/scala/ch/epfl/bluebrain/nexus/delta/plugins/elasticsearch/client/ElasticSearchClient.scala b/delta/plugins/elasticsearch/src/main/scala/ch/epfl/bluebrain/nexus/delta/plugins/elasticsearch/client/ElasticSearchClient.scala index 039f5fdb90..c485d0e362 100644 --- a/delta/plugins/elasticsearch/src/main/scala/ch/epfl/bluebrain/nexus/delta/plugins/elasticsearch/client/ElasticSearchClient.scala +++ b/delta/plugins/elasticsearch/src/main/scala/ch/epfl/bluebrain/nexus/delta/plugins/elasticsearch/client/ElasticSearchClient.scala @@ -119,7 +119,7 @@ class ElasticSearchClient(client: HttpClient, endpoint: Uri, maxIndexPathLength: case false => client(Put(endpoint / index.value, payload).withHttpCredentials) { case resp if resp.status.isSuccess() => discardEntity(resp) >> IO.pure(true) - }.tapError { e => UIO.pure(println(e)) } + } case true => IO.pure(false) }