Skip to content

Improvements to context variables methods #285

Closed
@oliversong

Description

@oliversong

Right now it just sets globalOptions.extra to the object you pass in, but it would be nice to be able to add or update a key in globalOptions.extra. It's especially bad because there's no 'getExtraContext' for us to provide an updated object.

Couple ways to go-

  • Provide all CRUD methods for ExtraContext?
  • Expose globalOptions on Raven object?
  • At least make a Raven.getExtraContext method.

This probably applies to Raven.setTagsContext as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions