[Hackage] #512: Use a proper exception for the 'die' utility function

Hackage trac at galois.com
Mon Mar 2 08:03:40 EST 2009

#512: Use a proper exception for the 'die' utility function
  Reporter:  duncan         |        Owner:         
      Type:  defect         |       Status:  closed 
  Priority:  normal         |    Milestone:         
 Component:  Cabal library  |      Version:
  Severity:  normal         |   Resolution:  fixed  
  Keywords:                 |   Difficulty:  unknown
Ghcversion:                 |     Platform:         
Changes (by duncan):

  * status:  new => closed
  * resolution:  => fixed


 Sun Mar  1 19:51:43 GMT 2009  Duncan Coutts <duncan at haskell.org>
   * Make die use an IOError that gets handled at the top level
   Rather than printing the error there and then and throwing an
   exit exception. The top handler now catches IOErrors and
   formats and prints them before throwing an exit exception.
   Fixes ticket #512.

Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/512#comment:1>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects

More information about the cabal-devel mailing list