class

Honeybadger::Dispatch

Inherits Reference / Object

Dispatch is responsible for:

  • Sending payloads to the API, optionally asynchronously
  • Parsing response codes
  • Emitting developer friendly status messages

Constants

Log = ::Log.for("honeybadger")

Class methods

send(payload : Payload, synchronous : Bool = false) : Nil

Sends a payload to the reporting api. By default the send is asynchronous with a fiber.

Source

Instance methods

message_for(key : Symbol)

Logs a human friendly response message for standard api response codes.

Source
message_for(response : Response)

Logs a human friendly response message for standard api response codes.

Source