Skip to content

Commit

Permalink
Async option removal was delayed til 6.0 (#7422)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffwidman authored Aug 2, 2023
1 parent 56fbd8e commit 42dd87b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/platforms/ruby/common/migration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ config.timeout #=> config.transport.timeout
config.open_timeout #=> config.transport.open_timeout
config.proxy #=> config.transport.proxy

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

1 comment on commit 42dd87b

@vercel
Copy link

@vercel vercel bot commented on 42dd87b Aug 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

sentry-docs – ./

sentry-docs-git-master.sentry.dev
sentry-docs.sentry.dev
docs.sentry.io

Please sign in to comment.