Created
September 26, 2016 09:33
-
-
Save justinvdm/240f375cbf1badaecac3e51d591ad48f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/actions/sync.js b/src/actions/sync.js | |
index baf8cdd..6361420 100644 | |
--- a/src/actions/sync.js | |
+++ b/src/actions/sync.js | |
@@ -14,5 +14,8 @@ export const load = apiAction({ | |
method: api.load, | |
request: loadRequest, | |
success: loadSuccess, | |
- failures: [[ApiResponseError, loadFailure]], | |
+ failures: [ | |
+ [ApiResponseError, loadFailure], | |
+ [Error, loadFailure], | |
+ ], | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment