From fe03c283a75c984f1be8ff7de83a5aac962aebf8 Mon Sep 17 00:00:00 2001 From: Christian Fiebrig Date: Fri, 18 Mar 2016 20:06:10 +0100 Subject: [PATCH] extend error message to make it clearer --- src/Paket.Core/PackageResolver.fs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Paket.Core/PackageResolver.fs b/src/Paket.Core/PackageResolver.fs index 273b2982a2..fa3d120ecf 100644 --- a/src/Paket.Core/PackageResolver.fs +++ b/src/Paket.Core/PackageResolver.fs @@ -126,9 +126,9 @@ type Resolution = match x.Parent with | DependenciesFile _ -> - sprintf " - Dependencies file requested: %s%s" vr pr |> addToError + sprintf " - Dependencies file requested package %O: %s%s" r.Name vr pr |> addToError | Package(parentName,version,_) -> - sprintf " - %O %O requested: %s%s" parentName version vr pr |> addToError) + sprintf " - %O %O requested package %O: %s%s" parentName version r.Name vr pr |> addToError) match this.GetConflicts() with | [] -> addToError <| sprintf " Could not resolve package %O. Unknown resolution error." (Seq.head stillOpen)