Closed tpitale closed 5 years ago
Thanks for opening this issue!
I will take a look to see what I can do about this.
I am unfortunately unable to reproduce this. I've pushed a repository to show how I'm attempting to reproduce, and if anything in your setup looks different, let me know:
Repository: https://github.com/mitchellhenke/no_route_testing Sentry installation commit: https://github.com/mitchellhenke/no_route_testing/commit/53a2b1db3d06e50f1bec47bc9efd9ab4667e6d30
hitting any route other than /
generates a 404, but I don't receive any events in Sentry, or logs like you are seeing.
Do you have any different Logger configuration or :error_logger
things going on?
We don't have this line use Sentry.Phoenix.Endpoint
adding and deploying. Might have missed that when upgrading at some point in the past.
This could also all be a red herring. We have no real confirmation that sentry is the issue. Closing until I can reproduce reliably.
@tpitale My hunch is that Sentry.Phoenix.Endpoint
wouldn't affect this issue, but rather that something different is going on with :logger
config. Something Phoenix related is also possible, but I'm less sure.
If you'd like to discuss while you're working through it, I'm in IRC and Elixir Slack (same username) 🙂
Sorry to resurrect this, but did you ever find a solution to this? I'm seeing this with v10.4:
Process #PID<0.11925.0> terminating
** (exit) {{{%Phoenix.Router.NoRouteError{plug_status: 404, message: "no route found for GET [just the request data that 404d]
Environment
Description
After upgrading to Phoenix 1.4.x and plug_cowboy 2.0, We've seen some vague errors in our logs that appear to happen on 404:
When searching out these errors we've found that other products similar to sentry (appsignal, honeybadger) have experienced similar issues. I'm wondering if you've seen this before and if maybe a similar change needs to happen in Sentry.
Related:
Expected Behavior
404 should not error and crash
Actual Behavior
404 appears to crash