Cobenian / raygun

A raygun client for Elixir
Apache License 2.0
19 stars 15 forks source link

Reporting 404s to raygun #13

Open RobinClowers opened 8 years ago

RobinClowers commented 8 years ago

Right now if your phoenix app 404s, the exception gets sent to raygun. I'm not 100% sure, but this seems wrong, since the exception is caught by Phoenix.Endpoint.RenderErrors. Would it be possible to catch errors higher up somehow? Or am I missing some configuration that will avoid this?

brweber2 commented 8 years ago

It might not be a bad idea to make this a configuration option, especially if a lot of bots are hitting your site with garbage URLs. I can't think of a work around at the moment so I'll look into putting a proper solution in place.

Thanks!

RobinClowers commented 8 years ago

Yeah, I can imagine situations where you would want to see your 404s, but for us it's mostly just noise. Thanks for getting back to me.