Skip to content

Commit

Permalink
Fix config code example in changelog
Browse files Browse the repository at this point in the history
Use the new `configure` helper. Not the thing we just deprecated in the
same version.
  • Loading branch information
tombruijn committed Jul 22, 2024
1 parent 95abf61 commit ba9b96e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,9 @@ _Published on 2024-07-22._
```ruby
# config/initializers/appsignal.rb
Appsignal.config = Appsignal::Config.new(
Rails.root,
Rails.env,
:ignore_actions => ["My action"]
)
Appsignal.configure do |config|
config.ignore_actions = ["My action"]
end
```

Be aware that when `start_at` is set to `after_initialize`, AppSignal will not track any errors that occur when the initializers are run and the app fails to start.
Expand Down

0 comments on commit ba9b96e

Please sign in to comment.