Skip to content

truncator: use 'JSON.stringify' instead of 'json-stringify-safe'#138

Merged
kyrylo merged 1 commit intomasterfrom
131-stringify-dep-removal
Apr 17, 2017
Merged

truncator: use 'JSON.stringify' instead of 'json-stringify-safe'#138
kyrylo merged 1 commit intomasterfrom
131-stringify-dep-removal

Conversation

@kyrylo
Copy link
Copy Markdown
Contributor

@kyrylo kyrylo commented Apr 17, 2017

Possibly fixes #131 (JSON parsing problem with error messages involving
a pound sterling symbol (£))

We used to use this library when we didn't have payload truncation
support. Now, when payload truncation is in place, we truncate notices
before sending. The truncator resolves circular references, so we don't
need to depend on 'json-stringify-safe' anymore.

Possibly fixes #131 (JSON parsing problem with error messages involving
a pound sterling symbol (£))

We used to use this library when we didn't have payload truncation
support. Now, when payload truncation is in place, we truncate notices
before sending. The truncator resolves circular references, so we don't
need to depend on 'json-stringify-safe' anymore.
@kyrylo kyrylo merged commit 2aa5af3 into master Apr 17, 2017
@kyrylo kyrylo deleted the 131-stringify-dep-removal branch April 17, 2017 15:02
kyrylo added a commit that referenced this pull request Apr 17, 2017
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.

1 participant