diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2015-03-12 11:52:25 +0100 |
---|---|---|
committer | Daniel Gröber <dxld@darkboxed.org> | 2015-03-12 12:01:43 +0100 |
commit | 1025ed52821f20cffcc1cc8fa028e8074abecab6 (patch) | |
tree | 8376cac0067eb32cab1a171f7a0a8542acc36e1a | |
parent | 3153a393da24ad2dd26430da2ec78d61ddc5d3e8 (diff) |
Fix ambiguity error
-rw-r--r-- | Distribution/Helper.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Distribution/Helper.hs b/Distribution/Helper.hs index 84a23aa..febd4aa 100644 --- a/Distribution/Helper.hs +++ b/Distribution/Helper.hs @@ -47,7 +47,7 @@ import Control.Monad import Control.Monad.IO.Class import Control.Monad.State.Strict import Control.Monad.Reader -import Control.Exception +import Control.Exception as E import Data.Monoid import Data.List import Data.Default @@ -182,7 +182,7 @@ getSomeConfigState = ask >>= \(progs, distdir) -> do res <- liftIO $ do exe <- findLibexecExe "cabal-helper-wrapper" out <- readProcess exe (distdir:args) "" - evaluate (read out) `catch` \(SomeException _) -> + evaluate (read out) `E.catch` \(SomeException _) -> error $ concat ["getSomeConfigState", ": ", exe, " " , intercalate " " (map show $ distdir:args) , " (read failed)"] |