File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 10
10
- Prevent starting Vernier in nested transactions ([ #2528 ] ( https://github.com/getsentry/sentry-ruby/pull/2528 ) )
11
11
- Fix TypeError when Resque.inline == true ([ #2564 ] https://github.com/getsentry/sentry-ruby/pull/2564 )
12
12
13
+ ### Internal
14
+
15
+ - Use ` File.open ` in ` LineCache ` ([ #2566 ] ( https://github.com/getsentry/sentry-ruby/pull/2566 ) )
16
+
13
17
### Miscellaneous
14
18
15
19
- Deprecate ` enable_tracing ` in favor of ` traces_sample_rate = 1.0 ` [ #2535 ] ( https://github.com/getsentry/sentry-ruby/pull/2535 )
Original file line number Diff line number Diff line change @@ -29,9 +29,9 @@ def valid_path?(path)
29
29
30
30
def getlines ( path )
31
31
@cache [ path ] ||= begin
32
- IO . readlines ( path )
33
- rescue
34
- nil
32
+ File . open ( path , "r" , & :readlines )
33
+ rescue
34
+ nil
35
35
end
36
36
end
37
37
You can’t perform that action at this time.
0 commit comments