Skip to content

Commit

Permalink
Tweak error message
Browse files Browse the repository at this point in the history
Should pritn an actual internal in correponding error, rather than
things like `VersionInterval(Some(Version(2.5.1)),Some(Version(3)),true,false)`
  • Loading branch information
alexarchambault committed Aug 16, 2019
1 parent 64e9bc0 commit d1b8431
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -294,7 +294,7 @@ object ResolutionProcess {
Left {
ver match {
case Left(itv) =>
s"No version found for $itv in $listingUrl"
s"No version found for ${itv.repr} in $listingUrl"
case Right((kind, _)) =>
s"No latest ${kind.name} version found in $listingUrl"
}
Expand Down Expand Up @@ -328,7 +328,7 @@ object ResolutionProcess {
case Right((_, listingUrl)) =>
ver match {
case Left(itv) =>
s"No version found for $itv in $listingUrl"
s"No version found for ${itv.repr} in $listingUrl"
case Right((kind, _)) =>
s"No latest ${kind.name} version found in $listingUrl"
}
Expand Down

0 comments on commit d1b8431

Please sign in to comment.