Skip to content

Commit

Permalink
Log errors in CoursierAlg#getVersions
Browse files Browse the repository at this point in the history
  • Loading branch information
L7R7 committed Oct 12, 2021
1 parent 4354d6c commit 7a45d7d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ object CoursierAlg {
case Right(repository) =>
val module = toCoursierModule(dependency)
repository.versions(module, cacheNoTtl.fetch).run.flatMap {
case Left(message) => F.raiseError(new Throwable(message))
case Left(message) => logger.trace(message) >> F.raiseError(new Throwable(message))
case Right((versions, _)) => F.pure(versions.available.map(Version.apply).sorted)
}
}
Expand Down

0 comments on commit 7a45d7d

Please sign in to comment.