annotateIO rewriteFile calls, disable wrapping on system messages.
- Now if a rewriteFile fails, we'll get a stack trace on -v.
We should rewrite writeFileAtomic but it's in the wrong
module and it would involve changing a lot of clients, so
this is a more conservative change.
- We no longer wrap error messages in top handler, so that
the stacks look better.
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
Showing
- Cabal/Distribution/Compat/Stack.hs 17 additions, 0 deletionsCabal/Distribution/Compat/Stack.hs
- Cabal/Distribution/Simple/Build.hs 5 additions, 4 deletionsCabal/Distribution/Simple/Build.hs
- Cabal/Distribution/Simple/Utils.hs 20 additions, 18 deletionsCabal/Distribution/Simple/Utils.hs
- cabal-install/Distribution/Client/SetupWrapper.hs 4 additions, 3 deletionscabal-install/Distribution/Client/SetupWrapper.hs
Loading
Please register or sign in to comment