Multiple Projects

To send errors to another Honeybadger project, configure an additional agent:

ruby
OtherBadger = Honeybadger::Agent.new OtherBadger.configure do |config| config.api_key = "Your project API key" end begin # Failing code rescue => exception OtherBadger.notify(exception) end

Agents do not use the global honeybadger.yml or environment variable configuration and must be configured manually after they are instantiated.