diff --git a/build.sbt b/build.sbt index eb8aa34f96..546b210ea8 100644 --- a/build.sbt +++ b/build.sbt @@ -120,7 +120,7 @@ val testServerSettings = Seq( ) val circeVersion: Option[(Long, Long)] => String = { _ => - "0.14.5" + "0.14.6" } val jsoniterVersion = "2.22.1" diff --git a/pekko-http-backend/src/main/scala/sttp/client3/pekkohttp/PekkoHttpBackend.scala b/pekko-http-backend/src/main/scala/sttp/client3/pekkohttp/PekkoHttpBackend.scala index d0c9ad5c7f..10ee803d3c 100644 --- a/pekko-http-backend/src/main/scala/sttp/client3/pekkohttp/PekkoHttpBackend.scala +++ b/pekko-http-backend/src/main/scala/sttp/client3/pekkohttp/PekkoHttpBackend.scala @@ -46,9 +46,9 @@ class PekkoHttpBackend private ( .withUpdatedConnectionSettings(_.withConnectingTimeout(opts.connectionTimeout)) override def send[T, R >: PE](r: Request[T, R]): Future[Response[T]] = - adjustExceptions(r) { - if (r.isWebSocket) sendWebSocket(r) else sendRegular(r) - } + adjustExceptions(r) { + if (r.isWebSocket) sendWebSocket(r) else sendRegular(r) + } private def sendRegular[T, R >: PE](r: Request[T, R]): Future[Response[T]] = Future