[Hackage] #709: cabal doesn't handle error conditions from getAppUserDataDirectory

Hackage cvs-ghc at haskell.org
Mon Aug 9 19:07:48 EDT 2010


#709: cabal doesn't handle error conditions from getAppUserDataDirectory
----------------------------+-----------------------------------------------
  Reporter:  creswick       |        Owner:         
      Type:  defect         |       Status:  new    
  Priority:  normal         |    Milestone:         
 Component:  Cabal library  |      Version:  1.8.0.2
  Severity:  normal         |     Keywords:         
Difficulty:  unknown        |   Ghcversion:  6.12.1 
  Platform:  Windows        |  
----------------------------+-----------------------------------------------

Comment(by duncan):

 I suppose we could improve the error message but I don't see that we can
 make anything work if getAppUserDataDirectory fails. It means we cannot
 read the config file.

 The error message issue could do with some work. We should make sure the
 topHandler is not throwing useful information away.

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



More information about the cabal-devel mailing list