Skip to content

Commit f28dcea

Browse files
committed
Lefover
1 parent 7d4ff31 commit f28dcea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/src/main/scala/sttp/client4/examples/LogRequestsSlf4j.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ object LogRequestsSlf4j extends App {
1212

1313
val request = basicRequest
1414
.get(uri"https://httpbin.org/get")
15-
.response(asJson[HttpBinResponse].getRight)
15+
.response(asJson[HttpBinResponse].orFail)
1616

1717
val backend: SyncBackend =
1818
Slf4jLoggingBackend(

0 commit comments

Comments
 (0)