Skip to content

Optionally serialize stack#22

Merged
rekmarks merged 5 commits intomasterfrom
optionally-serialize-stack
Jul 29, 2020
Merged

Optionally serialize stack#22
rekmarks merged 5 commits intomasterfrom
optionally-serialize-stack

Conversation

@rekmarks
Copy link
Copy Markdown
Member

Serializing the error stack is useless in production for our purposes, and it's a long string that just takes up space.

We don't need it, but making it optional is cheap, so this PR makes it an option that disables it by default.

Also adds test cases, updates types, and makes some minor cleanup.

This was referenced Jul 27, 2020
Copy link
Copy Markdown

@brad-decker brad-decker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@rekmarks rekmarks requested a review from a team as a code owner July 29, 2020 21:22
@rekmarks rekmarks merged commit f905b5c into master Jul 29, 2020
@rekmarks rekmarks deleted the optionally-serialize-stack branch July 29, 2020 21:25
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

Successfully merging this pull request may close these issues.

2 participants