Skip to content

Commit cff0932

Browse files
committed
wip
1 parent c0988c5 commit cff0932

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry-ruby/lib/sentry/backtrace.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def self.parse(backtrace, project_root, app_dirs_pattern, &backtrace_cleanup_cal
3232
# @see https://github.com/rails/rails/pull/49095 for more context.
3333
if Thread.respond_to?(:each_caller_location)
3434
def self.source_location(backtrace_cleaner)
35-
cache = line_cache.fetch_or_store(backtrace_cleaner.__id__) { Concurrent::Map.new }
35+
cache = (line_cache[backtrace_cleaner.__id__] ||= Concurrent::Map.new)
3636

3737
Thread.each_caller_location do |location|
3838
frame_key = [location.absolute_path, location.lineno]

0 commit comments

Comments
 (0)