We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d4ff31 commit f28dceaCopy full SHA for f28dcea
examples/src/main/scala/sttp/client4/examples/LogRequestsSlf4j.scala
@@ -12,7 +12,7 @@ object LogRequestsSlf4j extends App {
12
13
val request = basicRequest
14
.get(uri"https://httpbin.org/get")
15
- .response(asJson[HttpBinResponse].getRight)
+ .response(asJson[HttpBinResponse].orFail)
16
17
val backend: SyncBackend =
18
Slf4jLoggingBackend(
0 commit comments