resilient-http / resilient.js

Fault tolerant and reactive HTTP client for node.js and browsers
183 stars 13 forks source link

Catch unhandled exceptions during content parsing #134

Closed mshmelev closed 8 years ago

mshmelev commented 8 years ago

If response content cannot be parsed, an error should be passed to the callback rather than throwing one.

Also created a separate test case to demonstrate the fix.

h2non commented 8 years ago

Please, fix the linter errors.

mshmelev commented 8 years ago

Fixed everything, all green. Please review

mshmelev commented 8 years ago

@h2non, corrected

h2non commented 8 years ago

Version 0.3.3 with latest fixes is now available via npm and bower.