GithubHelp home page GithubHelp logo

Comments (3)

captbaritone avatar captbaritone commented on June 2, 2024 1

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.

captbaritone avatar captbaritone commented on June 2, 2024

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.

ccastarivale avatar ccastarivale commented on June 2, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.