diff --git a/index.js b/index.js index 1a77c6f..ea33518 100644 --- a/index.js +++ b/index.js @@ -271,7 +271,7 @@ function run_xhr(options) { xhr.body = xhr.responseText if(options.json) { try { xhr.body = JSON.parse(xhr.responseText) } - catch (er) { return options.callback(er, xhr) } + catch (e) { } } options.callback(null, xhr, xhr.body)