haskell / haskell/cabal

More helpful error-message than "The exception was: ExitFailure 1"

Open
#2,580 5 comments 0 reactions 0 assignees View on GitHub
re: error-message type: enhancement
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

Hi!

This is a proposal to make life little easier for beginners. I don't know how much work this would require, wanted to discuss possible solutions before looking into.

Currently, it's very common to see error like this when compilation fails:

```
somepackage-4.0 failed during the building phase. The exception was:
ExitFailure 1
```

I just figured out that I was so used to it that almost thought of it as a "normal thing". But it isn't, and I'd like to discuss possible enhancements to this, especially from people who are familiar with cabal's code-base.

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.