Multiple projects
To send errors to another Honeybadger project, configure an additional agent:
OtherBadger = Honeybadger::Agent.new
OtherBadger.configure do |config| config.api_key = "PROJECT_API_KEY"end
begin # Failing coderescue => exception OtherBadger.notify(exception)endAgents do not use the global honeybadger.yml or environment variable configuration and must be configured manually after they are instantiated.