Created
September 14, 2015 09:22
-
-
Save ruffle1986/cde812739ffdd9d32271 to your computer and use it in GitHub Desktop.
Redux Crash Reporter Middleware
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
export default store => next => action { | |
try { | |
return next(action) | |
} catch (err) { | |
// log error and handle the exception | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment