Comments (3)
Correct. The API is very similar, expect that import/configure Raven yourself, rather than passing Raven's config to the middleware creator. Take a look at the example in raven-for-redux
's readme, and feel free to reach out if you have any questions. I'll be idling in this Gitter room if you need help: https://gitter.im/raven-for-redux/Lobby
from redux-raven-middleware.
raven-for-redux take the slightly different approach of expecting you to setup Raven yourself. This means you have direct access to the Raven
object and can easily call setUserContext
yourself.
(Just in case there is any confusion, I see you have linked to the Ruby docs. Here is the correct Raven-js docs link: https://docs.sentry.io/clients/javascript/#adding-context
I've added a test to raven-for-redux to ensure that setting user context works: captbaritone/raven-for-redux@61ee3b0
from redux-raven-middleware.
Thanks for pointing me to the right docs. To have access to Raven, sounds like I must switch to using raven-for-redux
directly rather than relying on redux-raven-middleware
, correct?
from redux-raven-middleware.
Related Issues (20)
- The redux state is not submitted HOT 3
- Scrubbing State HOT 2
- Issue with server side rendering HOT 2
- Actions won't get logged if using redux-thunk HOT 3
- Update redux-raven-middleware on NPM HOT 8
- showReportDialog HOT 2
- Does this lib supercede direct raven usage HOT 3
- how can you send actions/state for non-redux errors? HOT 4
- Consider switching to a model where Raven is injected HOT 1
- configuration option to weather or not to include the whole action HOT 5
- 413 (Request Entity Too Large) HOT 2
- Enable Travis
- Configuration to add environment to Sentry errors HOT 5
- Possibility to filter breadcrumbs HOT 3
- Missing documentation explicit send of errors
- Update plz raven-js to 3.26.2 HOT 1
- What is the state of the project?
- Support for new Sentry SDK
- Publish new version (0.4.0?) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redux-raven-middleware.