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

Uncaught SyntaxError at JSON.parse #230

Closed
jjgrainger opened this issue Feb 11, 2019 · 0 comments
Closed

Uncaught SyntaxError at JSON.parse #230

jjgrainger opened this issue Feb 11, 2019 · 0 comments
Assignees
Labels

Comments

@jjgrainger
Copy link

I am seeing console errors when OIL tries to parse a string that is not JSON on this line.

It looks like this is because the message handler registered by OIL can pick up messages sent by other sources that do not contain a valid JSON string.

Below is the console error I'm seeing.

Uncaught SyntaxError: Unexpected token a in JSON at position 0
       at JSON.parse (<anonymous)
       at n (oil.1.2.5-RELEASE.min.js:16)

I'm happy to provide more information if needed.

Thanks

@Waschnick Waschnick added the bug label Feb 12, 2019
@Waschnick Waschnick self-assigned this Feb 25, 2019
@rbuer rbuer closed this as completed Apr 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants