Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

add response to err object as a non-enumrable property #34

Closed
wants to merge 1 commit into from

Conversation

sylvaingi
Copy link
Contributor

If an error raised by supertest ends up printed in stdout, the output is completely unreadable since response is quite a big object with a lot of properties.

@benesch benesch closed this in f714fa9 Aug 11, 2016
@benesch
Copy link
Contributor

benesch commented Aug 11, 2016

Thanks for your contribution, @sylvaingi! I modified your commit slightly in f714fa9 and released v4.0.0. Cheers!

@sylvaingi
Copy link
Contributor Author

Looks good to me, thanks!

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

Successfully merging this pull request may close these issues.

2 participants