Skip to content

Commit

Permalink
Improve error message when readPkgConfigDb fails
Browse files Browse the repository at this point in the history
  • Loading branch information
Iñaki García Etxebarria committed Jan 4, 2016
1 parent e5e6496 commit e9f8e48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cabal-install/Distribution/Client/PkgConfigDb.hs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ readPkgConfigDb verbosity conf = handle ioErrorHandler $ do
-- too long command line).
ioErrorHandler :: IOException -> IO PkgConfigDb
ioErrorHandler e = do
warn verbosity ("Failed to query pkg-config: " ++ show e)
warn verbosity ("Failed to query pkg-config, Cabal will continue without solving for pkg-config constraints: " ++ show e)
return NoPkgConfigDb

-- | Create a `PkgConfigDb` from a list of @(packageName, version)@ pairs.
Expand Down

0 comments on commit e9f8e48

Please sign in to comment.