Skip to content

Commit

Permalink
Remove API key from ‘handler ready’ message
Browse files Browse the repository at this point in the history
The API key is potentially sensitive if logs are handled through a
third-party service.

Fixes #283
  • Loading branch information
kattrali committed Mar 11, 2016
1 parent 21aad07 commit 5eaddd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bugsnag.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def configure(config_hash=nil)
@logged_ready = false unless defined?(@logged_ready)

if configuration.api_key && !@logged_ready
log "Bugsnag exception handler #{VERSION} ready, api_key=#{configuration.api_key}"
log "Bugsnag exception handler #{VERSION} ready"
@logged_ready = true
end
end
Expand Down

1 comment on commit 5eaddd8

@jborrey
Copy link
Contributor

@jborrey jborrey commented on 5eaddd8 Jun 6, 2016

Choose a reason for hiding this comment

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

💯

Please sign in to comment.