Catch `cabal configure` failure properly
Merge pull request #327 from DanielG/dev-configure

Catch `cabal configure` failure properly