View Source AirbrakeEx.Plug (airbrake_ex v0.2.9)

Add the AirbrakeEx.Plug to you web application Plug stack to send all exceptions to airbrake

defmodule YourApp.Router do
  use Phoenix.Router
  use AirbrakeEx.Plug

  # ...
end