Skip to content
Browse files

Improve error message

  • Loading branch information...
1 parent 56a2e57 commit 3921babaf4d5ebc678a47084ac81dae6441f7196 @kolmodin kolmodin committed Feb 19, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 Error.hs
View
2 Error.hs
@@ -41,7 +41,7 @@ hackPortShowError :: HackPortError -> String
hackPortShowError err = case err of
ArgumentError str -> "Argument error: "++str
ConnectionFailed server reason -> "Connection to hackage server '"++server++"' failed: "++reason
- PackageNotFound pkg -> "Package '"++ pkg ++"' not found on server."
+ PackageNotFound pkg -> "Package '"++ pkg ++"' not found on server. Try 'hackport update'?"
InvalidTarballURL url reason -> "Error while downloading tarball '"++url++"': "++reason
InvalidSignatureURL url reason -> "Error while downloading signature '"++url++"': "++reason
VerificationFailed file signature -> "Error while checking signature('"++signature++"') of '"++file++"'"

0 comments on commit 3921bab

Please sign in to comment.
Something went wrong with that request. Please try again.