diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2021-09-22 13:34:03 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-09-28 01:53:36 -0400 |
commit | 1935c42ffb2db800c03ed6b3876eee27a96e9b69 (patch) | |
tree | d182c5281b90504435f567c68c759b1ab067bc7b /hadrian/src/Way | |
parent | 45a674aacf33dc47c48506b834752d59fffd7e2c (diff) | |
download | haskell-1935c42ffb2db800c03ed6b3876eee27a96e9b69.tar.gz |
hadrian: Reduce default verbosity
This change reduces the default verbosity of error messages to omit the
stack trace information from the printed output.
For example, before all errors would have a long call trace:
```
Error when running Shake build system:
at action, called at src/Rules.hs:39:19 in main:Rules
at need, called at src/Rules.hs:61:5 in main:Rules
* Depends on: _build/stage1/lib/package.conf.d/ghc-9.3.conf
* Depends on: _build/stage1/compiler/build/libHSghc-9.3.a
* Depends on: _build/stage1/compiler/build/GHC/Tc/Solver/Rewrite.o
* Depends on: _build/stage1/compiler/build/GHC/Tc/Solver/Rewrite.o _build/stage1/compiler/build/GHC/Tc/Solver/Rewrite.hi
at cmd', called at src/Builder.hs:330:23 in main:Builder
at cmd, called at src/Builder.hs:432:8 in main:Builder
* Raised the exception:
```
Which can be useful but it confusing for GHC rather than hadrian
developers.
Ticket #20386
Diffstat (limited to 'hadrian/src/Way')
0 files changed, 0 insertions, 0 deletions