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

Serialized errors should not include stack by default #108

Closed
flybayer opened this issue Feb 1, 2021 · 0 comments · Fixed by #111
Closed

Serialized errors should not include stack by default #108

flybayer opened this issue Feb 1, 2021 · 0 comments · Fixed by #111
Labels

Comments

@flybayer
Copy link
Member

flybayer commented Feb 1, 2021

Currently stack is preserved for errors: https://github.com/blitz-js/superjson/blob/16cae250549e4822a22a014bb96597468dfff33f/src/transformer.ts#L110

@flybayer flybayer added the bug label Feb 1, 2021
@Skn0tt Skn0tt mentioned this issue Feb 2, 2021
Skn0tt added a commit that referenced this issue Feb 3, 2021
* Error.stack should not be included by default

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

Successfully merging a pull request may close this issue.

1 participant