Blunder.Absinthe v1.3.1 Blunder.Absinthe.ErrorHandler.BugSnag View Source

Error handler that logs errors using Logger

ErrorHandler for BugSnag is configureable inside of the config/config.exs on what level errors should blunder to be sent to BugSnag. The below code can be added to send notifications at or above a certain threshold. The default threshold is set to :error.

config :blunder, error_handlers: [
  {Blunder.Absinthe.ErrorHandler.BugSnag, [threshold: :error]}
]

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor

Link to this section Functions

Link to this function bugsnag_severity(blunder) View Source
bugsnag_severity(Blunder.t()) :: binary()

Returns a specification to start this module under a supervisor.

See Supervisor.