| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
We were also hit by this problem, and the change here certainly fixes it:
// Promise.resolve(JSON.parse(undefined)).then(() => console.log('success')).catch(() => console.log('fail'))
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data// Promise.resolve(undefined).then(JSON.parse).then(() => console.log('success')).catch(() => console.log('fail'))
fail
Sorry, something went wrong.
There was a problem hiding this comment.
lgtm
Sorry, something went wrong.
There was a problem hiding this comment.
So sorry for sleeping on this PR!
Sorry, something went wrong.
|
Released in 4.2.0. Sorry for the super long wait! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Currently invalid JSON in the response throws immediately instead of asynchronously.