Improve error handling around cabal freeze