pavelsof

pavelsof

Send an email when stuff breaks

Hello!

I am an Elixir/Phoenix newbie coming from the Python/Django world. Phoenix has been a very different beast for me compared to Django, and I am trying to embrace its ways and leave thinking in Django terms for when I am writing Python. However, I am missing Django’s logging AdminEmailHandler which would email me whenever there is an uncaught exception (i.e. whenever a 500 response happens). What would be a simple way to do something like that in Phoenix? Or perhaps: do I do something like that in the first place or I am being too paranoid? :upside_down_face:

Most Liked

dnsbty

dnsbty

I still haven’t had a chance to play with it much yet, but I believe this is exactly what Boom sets out to do. Might be worth giving it a shot.

https://github.com/wyeworks/boom

aziz

aziz

Welcome pavelsof! Sounds like you need something like AppSignal or Sentry. You’re not being paranoid at all. That’s an essential thing to have when it comes to important production systems. :slight_smile:

Last Post!

pavelsof

pavelsof

Thank you both!

I have been using third-party services at work, but I feel it is a bit too much for a small project, probably because I would feel that I am attaching too much importance to it :smiley: …and I can confirm that self-hosting Sentry is not fun.

Boom looks nice (and quite an appropriate name, too!), I will give it a try.

Where Next?

Popular in Questions Top

JeremM34
Hello, how can I check the Phoenix version ? Thanks !
New
New
hariharasudhan94
lets say i have a sample like a = 20; b = 10; if (a > b) do {:ok, "a"} end if (a < b) do {:ok, b} end if (a == b) do {:ok, "equa...
New
ovidiubadita
Hey all, I discovered Elixir and I love it. I always wanted to learn a functional programming and I intended to go for Haskell, but afte...
New
greenz1
I have a phoenix application from which a user can download multiple(5-6) files of size 1MB. I couldn’t find anything related to sending ...
New
vrod
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors: [WARN] - (starship::utils): Executing command ...
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New

Other popular topics Top

jononomo
For some reason my phoenix channels are working for me in my local dev environment, but as soon as I deploy via Docker, I get a 403 error...
New
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
siddhant3030
Hi, I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New
dblack
I’ve got an issue with an app and I’ve no idea of how to troubleshoot it. I’m hoping someone here might have seen something similar. I p...
New
sergio
Kind of like when jquery came out, it was super necessary. Existing drag and drop libraries have a bunch of baggage to support old browse...
New

We're in Beta

About us Mission Statement