Skip to content

Commit

Permalink
Remove println
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Dumas committed Oct 12, 2023
1 parent ba9cc0f commit c6271da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit c6271da

Please sign in to comment.