Commit a32c53a6 authored by Robert Knight's avatar Robert Knight

Add a note to remove some Sentry suppressions in future

Wherever the client calls `Response.json()` it should handle the
scenario where the body is empty.
parent f136dd8a
......@@ -62,6 +62,8 @@ export function init(config) {
'NetworkError when attempting to fetch resource', // Firefox
// Ignore network request failures due to empty JSON bodies.
// TODO - Consider removing these once `fetch` callers have been changed
// to handle `Response.json()` calls failing.
'JSON.parse: unexpected end of data', // Firefox
'Unexpected end of JSON input', // Opera Mobile
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment