Skip to content

rodrigues/airbrakex_ignorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AirbrakexIgnorer

Very simple filtering module for ignoring airbrakex errors.

It can filter error types, matching both exception type and the error message itself for the presence of the type.

Installation

Add airbrakex_ignorer to your list of dependencies in mix.exs:

def deps do
  [
    {:airbrakex_ignorer, "~> 0.1.0"}
  ]
end

Configure airbrakex ignore to use this package:

config :airbrakex,
  #...
  ignore: {AirbrakexIgnorer, :ignore?, []}

Configure airbrakex ignorer with the types you want to ignore:

config :airbrakex_ignorer,
  types: [
    Phoenix.Router.NoRouteError
  ]

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/airbrakex_ignorer.

About

Simple filtering module for airbrakex errors

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages