We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fa174e commit dca70f8Copy full SHA for dca70f8
src/saga.js
@@ -24,14 +24,22 @@ function * loader (action) {
24
response
25
}
26
27
- yield put(responseAction)
+ try {
28
+ yield put(responseAction)
29
+ } catch (e) {
30
+ // redux-saga v0.16 swallows put() exceptions
31
+ }
32
} catch (error) {
33
const errorAction = {
34
...responseObject,
35
type: FAILURE,
36
error
37
38
- yield put(errorAction)
39
40
+ yield put(errorAction)
41
42
43
44
45
0 commit comments