From e9f8e48a642ac758bd2eed53c842197d2ab8954d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1aki=20Garc=C3=ADa=20Etxebarria?= Date: Mon, 4 Jan 2016 05:12:59 +0100 Subject: [PATCH] Improve error message when readPkgConfigDb fails --- cabal-install/Distribution/Client/PkgConfigDb.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cabal-install/Distribution/Client/PkgConfigDb.hs b/cabal-install/Distribution/Client/PkgConfigDb.hs index 1b4e8b5e48f..d83c754c16a 100644 --- a/cabal-install/Distribution/Client/PkgConfigDb.hs +++ b/cabal-install/Distribution/Client/PkgConfigDb.hs @@ -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.