Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calling Raven.capture with given context overwrites context hierarchy #59

Closed
Sija opened this issue Dec 13, 2019 · 0 comments · Fixed by #60
Closed

Calling Raven.capture with given context overwrites context hierarchy #59

Sija opened this issue Dec 13, 2019 · 0 comments · Fixed by #60
Assignees
Labels

Comments

@Sija
Copy link
Owner

Sija commented Dec 13, 2019

require "spec"

Raven.extra_context(foo: "foo")

Raven.capture("BOOM", extra: {bar: "bar"}) do |event|
  if buggy = true
    event.extra.should eq({:bar => "bar"})
  else
    event.extra.should eq({:foo => "foo", :bar => "bar"})
  end
end
@Sija Sija added the bug label Dec 13, 2019
@Sija Sija self-assigned this Dec 13, 2019
Sija added a commit that referenced this issue Dec 13, 2019
Sija added a commit that referenced this issue Dec 13, 2019
@Sija Sija mentioned this issue Dec 13, 2019
Sija added a commit that referenced this issue Dec 13, 2019
@Sija Sija closed this as completed in #60 Dec 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant