testez
testez copied to clipboard
Don't stringify errors
Right now, we call tostring on any errors we get. This is to prevent errors within the error handling when trying to concatenate a non-string. The better solution would be to keep errors in their original form and only stringify them inside the reporter. That way, if the reporter wanted, it could do more than just call tostring.