Logging errors

I want to add airbrake-like (there are plenty of alternatives) logging to the app, getting errors logged and emailed to me. It works perfectly nice for Rails apps, introducing nice way to observe any abnormalities in app’s worflow, but for Elixir/Phoenix it doesn’t make much sense, because in elixir throwing an errors is way too normal in any situation.

Did anybody resolve this riddle?

2 Likes

I’m not sure if that’s way too normal in many situations. You don’t want your web users to see 500 Internal Server error, usually.

Check this out, one of our clients use it and the devs like it very much:
https://github.com/jarednorman/bugsnag-elixir

3 Likes

Thanks! i’ll take a look