Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't print error by default #335

Open
kevincox opened this issue Nov 1, 2020 · 0 comments
Open

Don't print error by default #335

kevincox opened this issue Nov 1, 2020 · 0 comments

Comments

@kevincox
Copy link

kevincox commented Nov 1, 2020

The code even suggests this:

// QUESTION should we print the error message by default?
console.error(fullMessage)

My test runner already has logic to capture, format and display errors. Right now I have useful logs, followed by two copies of the error and a stack trace. This pushes valuable logs and debugging information off screen and I need to go over and scroll the terminal far more often then I would if the error was only printed once.

I don't know if you want to change the default, but there should at least be an option to not print the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant