{"action":"created","issue":{"url":"https://api.github.com/repos/pburtchaell/redux-promise-middleware/issues/59","repository_url":"https://api.github.com/repos/pburtchaell/redux-promise-middleware","labels_url":"https://api.github.com/repos/pburtchaell/redux-promise-middleware/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/pburtchaell/redux-promise-middleware/issues/59/comments","events_url":"https://api.github.com/repos/pburtchaell/redux-promise-middleware/issues/59/events","html_url":"https://github.com/pburtchaell/redux-promise-middleware/issues/59","id":130617514,"number":59,"title":"Don't swallow errors","user":{"login":"benjamingr","id":1315533,"avatar_url":"https://avatars.githubusercontent.com/u/1315533?v=3","gravatar_id":"","url":"https://api.github.com/users/benjamingr","html_url":"https://github.com/benjamingr","followers_url":"https://api.github.com/users/benjamingr/followers","following_url":"https://api.github.com/users/benjamingr/following{/other_user}","gists_url":"https://api.github.com/users/benjamingr/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamingr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamingr/subscriptions","organizations_url":"https://api.github.com/users/benjamingr/orgs","repos_url":"https://api.github.com/users/benjamingr/repos","events_url":"https://api.github.com/users/benjamingr/events{/privacy}","received_events_url":"https://api.github.com/users/benjamingr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2016-02-02T08:57:10Z","updated_at":"2016-03-18T20:32:45Z","closed_at":"2016-02-20T08:59:35Z","body":"It would be great to actually notify users on exceptions here: https://github.com/pburtchaell/redux-promise-middleware/blob/master/src/index.js#L54 vs recovering from the error.\r\n\r\nAt least a hook that logs rejections cleanly for debugging. Currently this is basically a:\r\n\r\n    try {\r\n        return [action, false] \r\n    } catch (e) {\r\n        return [action, true]\r\n    }\r\n\r\nIt would be useful to notify on rejections - maybe via taking a callback, so users don't get exceptions that are more silent by default. "},"comment":{"url":"https://api.github.com/repos/pburtchaell/redux-promise-middleware/issues/comments/198530555","html_url":"https://github.com/pburtchaell/redux-promise-middleware/issues/59#issuecomment-198530555","issue_url":"https://api.github.com/repos/pburtchaell/redux-promise-middleware/issues/59","id":198530555,"user":{"login":"tomatau","id":1243486,"avatar_url":"https://avatars.githubusercontent.com/u/1243486?v=3","gravatar_id":"","url":"https://api.github.com/users/tomatau","html_url":"https://github.com/tomatau","followers_url":"https://api.github.com/users/tomatau/followers","following_url":"https://api.github.com/users/tomatau/following{/other_user}","gists_url":"https://api.github.com/users/tomatau/gists{/gist_id}","starred_url":"https://api.github.com/users/tomatau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomatau/subscriptions","organizations_url":"https://api.github.com/users/tomatau/orgs","repos_url":"https://api.github.com/users/tomatau/repos","events_url":"https://api.github.com/users/tomatau/events{/privacy}","received_events_url":"https://api.github.com/users/tomatau/received_events","type":"User","site_admin":false},"created_at":"2016-03-18T20:32:45Z","updated_at":"2016-03-18T20:32:45Z","body":"FWIW I strongly recommend you log you actions for debugging. An action is always thrown for any rejected promise."}}