We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0988c5 commit cff0932Copy full SHA for cff0932
sentry-ruby/lib/sentry/backtrace.rb
@@ -32,7 +32,7 @@ def self.parse(backtrace, project_root, app_dirs_pattern, &backtrace_cleanup_cal
32
# @see https://github.com/rails/rails/pull/49095 for more context.
33
if Thread.respond_to?(:each_caller_location)
34
def self.source_location(backtrace_cleaner)
35
- cache = line_cache.fetch_or_store(backtrace_cleaner.__id__) { Concurrent::Map.new }
+ cache = (line_cache[backtrace_cleaner.__id__] ||= Concurrent::Map.new)
36
37
Thread.each_caller_location do |location|
38
frame_key = [location.absolute_path, location.lineno]
0 commit comments