Skip to content

Commit a02ac29

Browse files
committed
Add spec to Backtrace::APP_DIRS_PATTERN
1 parent d45f720 commit a02ac29

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
## Unreleased
22

3-
- Forward all `baggage` header items that are prefixed with `sentry-` [#2025](https://github.com/getsentry/sentry-ruby/pull/2025)
4-
53
### Features
64

75
- Add new boolean option `config.enable_tracing` to simplify enabling performance tracing [#2005](https://github.com/getsentry/sentry-ruby/pull/2005)
@@ -16,6 +14,8 @@
1614
Sentry.capture_exception(ignored_exception) # won't be sent to Sentry
1715
Sentry.capture_exception(ignored_exception, hint: { ignore_exclusions: true }) # will be sent to Sentry
1816
```
17+
- Add `spec` to `Backtrace::APP_DIRS_PATTERN` [#2029](https://github.com/getsentry/sentry-ruby/pull/2029)
18+
- Forward all `baggage` header items that are prefixed with `sentry-` [#2025](https://github.com/getsentry/sentry-ruby/pull/2025)
1919

2020
### Bug Fixes
2121

sentry-ruby/lib/sentry/backtrace.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def inspect
7676
end
7777
end
7878

79-
APP_DIRS_PATTERN = /(bin|exe|app|config|lib|test)/.freeze
79+
APP_DIRS_PATTERN = /(bin|exe|app|config|lib|test|spec)/.freeze
8080

8181
# holder for an Array of Backtrace::Line instances
8282
attr_reader :lines

0 commit comments

Comments
 (0)