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

Problem with JSON input of Excercise 9: Throw an error #94

Closed
divyadeepsawhney opened this issue Aug 17, 2016 · 2 comments
Closed

Problem with JSON input of Excercise 9: Throw an error #94

divyadeepsawhney opened this issue Aug 17, 2016 · 2 comments

Comments

@divyadeepsawhney
Copy link

screenshot 2016-08-17 19 35 17

The problem is with verification. I know I did it right. But, it should be resolved in this repository for future.

Thanks

@arku
Copy link

arku commented Jan 24, 2017

What if we ask the learners to just log error.message? This would solve the issue of comparing with the string representation of the Error object. ie. We only compare the following string

"SyntaxError: Unexpected token o in JSON at position 1"

I would love to add this fix to the codebase. Can someone point me on how to go about it?

@addaleax
Copy link
Collaborator

I think this has been fixed now, so I’m closing this. Please feel free to re-open if you run into any more trouble!

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

No branches or pull requests

3 participants