Skip to content

Commit

Permalink
docs(rails): Indicate why API key validation is skipped
Browse files Browse the repository at this point in the history
  • Loading branch information
kattrali committed Apr 6, 2018
1 parent 9a500d5 commit 3ae6f7a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/bugsnag/integrations/railtie.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ class Railtie < Rails::Railtie

config.before_initialize do
# Configure bugsnag rails defaults
# Skipping API key validation as the key may be set later in an
# initializer. If not, the key will be validated in after_initialize.
Bugsnag.configure(false) do |config|
config.logger = ::Rails.logger
config.release_stage = ENV["BUGSNAG_RELEASE_STAGE"] || ::Rails.env.to_s
Expand Down

0 comments on commit 3ae6f7a

Please sign in to comment.