haskell / haskell/cabal

topHandler drops useful exception info

Open
#3,310 22 comments 0 reactions 1 assignee Claimed by @ezyang View on GitHub
Cabal: other type: bug
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

With `topHandler`, I get:

```
TmpTest.hs: permissionDenied
```

Without it, I get a very nice error message:

```
TmpTest.hs: DeleteFile "C:\\msys64\\tmp\\tmp-11944\\foo": permission denied (The process cannot access the file because it is being used by another process.)
```
#823 is related but is a different, cosmetic problem which is not that important, so I filed a new bug. I plan on fixing this.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.