I have trouble figuring out how to trigger an airbrake from an error for example a Phoenix.ActionClauseError which is triggered when no function clause match in a controller.
I've set some IO.inspect and I can see that the exception is caught by the Airbrake plug and then put in the Airbrake.Worker server state via the Airbrake.Worker.remember/2 function but i don't understand how it is supposed to be dispatched to airbrake after that?
I know my setup is working because i tried sending an error to airbrake via Airbrake.report/2 and it's working just fine.
Hi this is more a question than a issue,
I have trouble figuring out how to trigger an airbrake from an error for example a
Phoenix.ActionClauseError
which is triggered when no function clause match in a controller.I've set some
IO.inspect
and I can see that the exception is caught by the Airbrake plug and then put in theAirbrake.Worker
server state via theAirbrake.Worker.remember/2
function but i don't understand how it is supposed to be dispatched to airbrake after that?I know my setup is working because i tried sending an error to airbrake via
Airbrake.report/2
and it's working just fine.Thanks