Skip to content

Commit

Permalink
Bump snowplow-badrows (will be merged into upgrading to Cats Effect 3…
Browse files Browse the repository at this point in the history
… commit)
  • Loading branch information
benjben committed Jan 18, 2024
1 parent 411fd35 commit 896761e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ object Utils {
def parseBadRow(s: String): Either[String, BadRow] =
for {
json <- parser.parse(s).leftMap(_.message)
sdj <- SelfDescribingData.parse(json).leftMap(_.message("Can't decode JSON as SDJ"))
br <- sdj.data.as[BadRow].leftMap(_.getMessage())
sdj <- json.as[SelfDescribingData[BadRow]].map(_.message("Can't decode JSON as SDJ"))
br <- sdj.data
} yield br
}
}
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ object Dependencies {
val scalaWeather = "2.0.0"
val gatlingJsonpath = "0.6.14"
val scalaUri = "1.5.1"
val badRows = "2.2.1"
val badRows = "2.3.0"
val igluClient = "3.1.0"

val snowplowRawEvent = "0.1.0"
Expand Down

0 comments on commit 896761e

Please sign in to comment.