#267: cabal upload has poor error messages (just an HTTP response code)
----------------------------+-----------------------------------------------
Reporter: guest | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Cabal library | Version: HEAD
Severity: normal | Resolution:
Keywords: | Difficulty: normal
Ghcversion: 6.8.2 | Platform:
----------------------------+-----------------------------------------------
Comment (by ross):
The CGI script uses `outputError`, which returns a response with a status
header ''400 Error in upload'', with the error message (in HTML) in the
body. Cabal upload is presumably ignoring the message because it wants
plain text, but the CGI library doesn't offer that.
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/267#comment:1>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
_______________________________________________
cabal-devel mailing list
cabal-devel@haskell.org
http://www.haskell.org/mailman/listinfo/cabal-devel