Skip to content

Commit 42dd87b

Browse files
authored
Async option removal was delayed til 6.0 (#7422)
* getsentry/sentry-ruby#1522
1 parent 56fbd8e commit 42dd87b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/platforms/ruby/common/migration.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ config.timeout #=> config.transport.timeout
133133
config.open_timeout #=> config.transport.open_timeout
134134
config.proxy #=> config.transport.proxy
135135

136-
# These options are present in sentry-ruby 4.* but has been removed in 5.0 with the faraday removal
136+
# These options are present in sentry-ruby 4.* but were removed in 5.0 with the faraday removal
137137
config.http_adapter #=> config.transport.http_adapter
138138
config.faraday_builder #=> config.transport.faraday_builder
139139
```
@@ -281,7 +281,7 @@ config.before_send = lambda do |event, hint|
281281
if exception = hint[:exception]
282282
exception.raven_context.each do |key, value|
283283
# here I assume the event would be a Sentry::Event object
284-
# it'll be a hash if you use the async callback though (which will be removed in version 5.0)
284+
# however, it'll be a hash if you use the async callback (which will be removed in version 6.0)
285285
event.send("#{key}=", value)
286286
end
287287
end

0 commit comments

Comments
 (0)