Skip to content

Commit 473e5b1

Browse files
authored
Prepare for 4.6.4 (#1521)
* Correct inspect_exception_causes_for_exclusion config's document * Update changelog * Update rake example
1 parent 9901068 commit 473e5b1

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 4.6.4
2+
3+
- Extend Rake with a more elegant and reliable way [#1517](https://github.com/getsentry/sentry-ruby/pull/1517)
4+
- Fixes [#1520](https://github.com/getsentry/sentry-ruby/issues/1520)
5+
16
## 4.6.3
27

38
- Silence some ruby warnings [#1504](https://github.com/getsentry/sentry-ruby/pull/1504)

sentry-ruby/examples/rake/Rakefile.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@
44
config.dsn = 'https://2fb45f003d054a7ea47feb45898f7649@o447951.ingest.sentry.io/5434472'
55
end
66

7+
# bundle exec rake raise_exception
78
task :raise_exception do
89
1/0
910
end
1011

11-
task :send_message do
12-
Sentry.capture_message("message from rake")
12+
# bundle exec rake send_message[foo]
13+
task :send_message, ['name'] do |_task, args|
14+
Sentry.capture_message("message from #{args[:name]}")
1315
end

sentry-ruby/lib/sentry/configuration.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class Configuration
8989
# You should probably append to this rather than overwrite it.
9090
attr_accessor :excluded_exceptions
9191

92-
# Boolean to check nested exceptions when deciding if to exclude. Defaults to false
92+
# Boolean to check nested exceptions when deciding if to exclude. Defaults to true
9393
attr_accessor :inspect_exception_causes_for_exclusion
9494
alias inspect_exception_causes_for_exclusion? inspect_exception_causes_for_exclusion
9595

0 commit comments

Comments
 (0)