thousandsofthem

thousandsofthem

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?

Most Liked

hubertlepicki

hubertlepicki

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

Last Post!

thousandsofthem

thousandsofthem

Thanks! i’ll take a look

Where Next?

Popular in Questions Top

Emily
I have VueJS GUIs with the project generated using Webpack. I have Elixir modules that will need to be used by the VueJS GUIs. I forese...
New
Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
New
pmjoe
I have a relationship of love and hate with Elixir. Lots of things are just absolutely right, but there are some things that are kind of ...
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
svb
Hi! Currently I want to submit a form by pressing the Enter key. However, since my input field is of type “textarea” this is just adds a...
New

Other popular topics Top

rms.mrcs
Hi, I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list. ...
New
JeremM34
Hello, how can I check the Phoenix version ? Thanks !
New
Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
shijith.k
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
New
jason.o
In the code below, if the create action is not set to accept “extra_key” as an input, it errors out with a message shown above. Is there ...
New

We're in Beta

About us Mission Statement