[Hackage] #549: The reason for an upload error is not reported
Hackage
trac at galois.com
Thu Jun 4 14:12:03 EDT 2009
#549: The reason for an upload error is not reported
---------------------------------+------------------------------------------
Reporter: guest | Owner:
Type: defect | Status: closed
Priority: normal | Milestone: cabal-install-0.8
Component: cabal-install tool | Version: 1.6.0.2
Severity: normal | Resolution: fixed
Keywords: | Difficulty: very easy (<1 hour)
Ghcversion: | Platform:
---------------------------------+------------------------------------------
Changes (by duncan):
* status: new => closed
* resolution: => fixed
Comment:
{{{
Thu Jun 4 13:48:36 BST 2009 Duncan Coutts <duncan at haskell.org>
* Make cabal upload/check print out the error messages reported by the
server
The code to do it was already there but we were checking for the
mime type text/plain using just (==) when in fact the server reports
text/plain; charset="ISO-8859-1"
so we have to parse the field a bit better (still a bit of a hack).
}}}
It'll be in 0.6.4
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/549#comment:3>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list