class Honeybadger::Handler
- Honeybadger::Handler
- Reference
- Object
Overview
An HTTP Server Handler which intercepts unhandled exceptions and sends them to the Honeybadger exception reporting api.
Included Modules
- HTTP::Handler
Defined in:
honeybadger/handler.crConstructors
-
.new(factory : Honeybadger::HttpPayload.class = Honeybadger::HttpPayload)
Builds a new handler for inclusion into an HTTP server config.
Constructor Detail
Builds a new handler for inclusion into an HTTP server config.
The default reporting payload renders general http context information.
Framework or application specific should be provided by subclassing
HttpPayload
and providing an explicit factory.