https://github.com/rodrigues/airbrakex_ignorer
Simple filtering module for airbrakex errors
https://github.com/rodrigues/airbrakex_ignorer
airbrake elixir
Last synced: about 15 hours ago
JSON representation
Simple filtering module for airbrakex errors
- Host: GitHub
- URL: https://github.com/rodrigues/airbrakex_ignorer
- Owner: rodrigues
- Created: 2019-04-02T20:07:23.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-02T20:07:57.000Z (about 7 years ago)
- Last Synced: 2026-06-22T21:31:35.832Z (7 days ago)
- Topics: airbrake, elixir
- Language: Elixir
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AirbrakexIgnorer
Very simple filtering module for ignoring [`airbrakex`](https://github.com/fazibear/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`:
```elixir
def deps do
[
{:airbrakex_ignorer, "~> 0.1.0"}
]
end
```
Configure airbrakex ignore to use this package:
```elixir
config :airbrakex,
#...
ignore: {AirbrakexIgnorer, :ignore?, []}
```
Configure airbrakex ignorer with the types you want to ignore:
```elixir
config :airbrakex_ignorer,
types: [
Phoenix.Router.NoRouteError
]
```
Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
be found at [https://hexdocs.pm/airbrakex_ignorer](https://hexdocs.pm/airbrakex_ignorer).