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

stop JSON-stringification from throwing and instead return error on cb #86

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sandfox
Copy link

@sandfox sandfox commented Feb 8, 2016

Throwing when JSON.stringify errors seems a little unfriendly as it requires users to wrap every use of the library with a try/catch block and the library probably shouldn't throw anyway as the user has induced the error, rather the library itself doing something daft.

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