You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current d3.json function would not consider a 404 or a 500 an error, but doesn't forward the status code to verify it either. This might lead to hard-to-debug code.
Happy to send a PR if there is consensus
The text was updated successfully, but these errors were encountered:
Yes, this is a bug; we should check the response status code. If people want to parse the responses for non-success status codes, it should be reasonable for them to just use the Fetch API directly (since this module is already a very thin layer on top of fetch).
The current d3.json function would not consider a 404 or a 500 an error, but doesn't forward the status code to verify it either. This might lead to hard-to-debug code.
Happy to send a PR if there is consensus
The text was updated successfully, but these errors were encountered: