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
{{ message }}
This repository has been archived by the owner on Apr 20, 2018. It is now read-only.
Shouldn't you be try/catching things that may throw inside the subscribeCore?
This is unexpected :
Rx.DOM.post({
url,// let's say the response body contains invalid jsonresponseType: 'json',body: ''}).catch(err=>{// Cannot handle the JSON.parse error here});
JSON.parse
can throw, but the way in which it's called in https://github.com/Reactive-Extensions/RxJS-DOM/blob/master/src/ajax/ajax.js#L40 means it's impossible to handle this error gracefully which completely breaks composition.Shouldn't you be try/catching things that may throw inside the
subscribeCore
?This is unexpected :
The following should be possible
Currently, the error will bubble up and crash your program.
The text was updated successfully, but these errors were encountered: