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

Don't stringify errors #144

Open
MagiMaster opened this issue Oct 2, 2020 · 0 comments
Open

Don't stringify errors #144

MagiMaster opened this issue Oct 2, 2020 · 0 comments

Comments

@MagiMaster
Copy link
Collaborator

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.

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

No branches or pull requests

1 participant