lib/raven/context.rb in sentry-raven-0.4.4 vs lib/raven/context.rb in sentry-raven-0.4.5

- old
+ new

@@ -1,11 +1,11 @@ module Raven class Context - def current + def self.current Thread.current[:sentry_context] ||= new end - def clear! + def self.clear! Thread.current[:sentry_context] = nil end attr_reader :extra, :tags, :user