Skip to content

Commit 8fc0a06

Browse files
author
Sergio Daniel Xalambrí
authored
Merge pull request #3 from benvinegar/patch-1
Fix Raven.captureException example in docs
2 parents 65faa0a + 71c0de5 commit 8fc0a06

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ And then use `Raven.captureException` as the error handler like this:
4848

4949
```javascript
5050
const store = createStore(reducer, applyMiddleware(
51-
reduxCatch(Raven.captureException)
51+
reduxCatch(function (error) {
52+
Raven.captureException(error);
53+
});
5254
));
5355
```
5456

0 commit comments

Comments
 (0)