Honeybadger
The Honeybadger::AuthenticHandler is meant to integrate with the Lucky web framework.
It will attempt to fetch a user's ID from the current session, and include it in the error context if available.
Constants
VERSION = "0.3.0"
Class methods
clear
SourceSet the API key to be used for calls to the honeybadger API.
Call configure during an application boot sequence and populate the api key:
honeybadger_api_key = ENV["HONEYBADGER_API_KEY"]? || "00000000"
Honeybadger.configure(api_key: honeybadger_api_key)
configure
Configure Honeybadger with a block.
Honeybadger.configure do |settings|
settings.api_key = "00000"
settings.project_root = "/path/to/project"
end
context
Sourceevent
Sourcenotify(exception : Exception | String, context : Hash | Nil = nil, *, synchronous : Bool = false, error_class : String | Nil = nil) : Nil
Send notifications to the Honeybadger API
send(event : Event)
Source