beemojs / beemo

🤖 Centralized configuration layer for dev tools. Beep boop.
https://beemo.dev
MIT License
143 stars 9 forks source link

new: Improve error output for failed drivers and scripts. #73

Closed milesj closed 4 years ago

milesj commented 4 years ago

Our current error reporting loses information, especially when run against a workspace, as there are multiple errors with different stack traces. Currently we combine all the messages and re-throw a single error, which is unfortunate.

This new approach does something similar, but also persists stderr and stdout if it's been defined (as the error message is always useless coming from execa). It looks like the following.

Screen Shot 2019-12-07 at 16 41 48

Fixes #71