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

Empty responses cause JS Error #90

Closed
moderndeveloperllc opened this issue Jun 14, 2017 · 1 comment
Closed

Empty responses cause JS Error #90

moderndeveloperllc opened this issue Jun 14, 2017 · 1 comment
Milestone

Comments

@moderndeveloperllc
Copy link

For 204 and 201 responses with no response body, you get the following JS error:

uncaught at f SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at o (chrome-extension://efhficcaphambolcidkajacbepebblnj/dist/rested.js:29:218793)
    at r.render (chrome-extension://efhficcaphambolcidkajacbepebblnj/dist/rested.js:29:1076673)
    at d._renderValidatedComponentWithoutOwnerOrContext (chrome-extension://efhficcaphambolcidkajacbepebblnj/dist/rested.js:29:1083106)
    at d._renderValidatedComponent (chrome-extension://efhficcaphambolcidkajacbepebblnj/dist/rested.js:29:1083318)
    at d._updateRenderedComponent (chrome-extension://efhficcaphambolcidkajacbepebblnj/dist/rested.js:29:1082537)
    at d._performComponentUpdate (chrome-extension://efhficcaphambolcidkajacbepebblnj/dist/rested.js:29:1082338)
    at d.updateComponent (chrome-extension://efhficcaphambolcidkajacbepebblnj/dist/rested.js:29:1081616)
    at d.receiveComponent (chrome-extension://efhficcaphambolcidkajacbepebblnj/dist/rested.js:29:1080733)
    at Object.receiveComponent (chrome-extension://efhficcaphambolcidkajacbepebblnj/dist/rested.js:6:185656)
f @ rested.js:6
(anonymous) @ rested.js:29
r @ rested.js:29
o @ rested.js:29
T @ rested.js:29
E @ rested.js:29
b @ rested.js:29
n @ rested.js:29

This also means that the cog keeps rotating forever and the response panel doesn't show.

@eliihen
Copy link
Member

eliihen commented Jun 15, 2017

Thanks for reporting! Assigning to the next bugfix milestone

@eliihen eliihen modified the milestones: 2.0.4, 2.0.3 Jun 15, 2017
@eliihen eliihen closed this as completed Jun 15, 2017
@eliihen eliihen mentioned this issue Jun 15, 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

No branches or pull requests

2 participants