nightroman / Invoke-Build

Build Automation in PowerShell

Home Page:https://github.com/nightroman/Invoke-Build/wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Amend output on task errors.

nightroman opened this issue · comments

When a build task fails, IB currently shows:

  1. error message + location, if available
  2. failed task location
  3. parent task locations, i.e. task stack

With some experience and feedback:

  • (1) is the most useful, it is often enough for understanding the error
  • (2) is somewhat useful, especially on errors in external scripts
  • (3) is rarely useful

Proposals:

  • retire (3) as not useful, kind of noise
  • use some less prominent color for (2)