Skip to content

Commit

Permalink
Update Scala version to 2.13.3 (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
Takumi Kadowaki authored Jun 28, 2020
1 parent 85ba773 commit c0f9fa1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import sbtrelease.ReleasePlugin.autoImport.ReleaseTransformations._

val Scala2_13 = "2.13.1"
val Scala2_13 = "2.13.3"
val Scala2_12 = "2.12.11"

val supportedScalaVersions = List(Scala2_13, Scala2_12)
Expand Down
2 changes: 1 addition & 1 deletion src/main/scala/scaladog/api/APIClient.scala
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ trait APIClient {
read[Res](response.text())
} else {
val errors = {
val errorsT = Try(ujson.read(response.text).obj("errors").arr.mkString("[", ",", "]"))
val errorsT = Try(ujson.read(response.text()).obj("errors").arr.mkString("[", ",", "]"))
errorsT.getOrElse(response.text())
}
val message = s"${response.statusCode} ${response.statusMessage}: $errors"
Expand Down

0 comments on commit c0f9fa1

Please sign in to comment.