-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Honeybadger.Logger process starts in wrong environments and terminates/times out for no clear reason #248
Comments
You can disable the logger in dev: config :honeybadger, environment_name: :dev, use_logger: false However, that shouldn't be necessary. The logger shouldn't ever crash when attempting to send a notice. I'm curious how the call to
I have a potential fix for that issue ready, but I can't recreate it with any tests. |
Looking at the line, the error is a timeout, and the integer at the end is the same value as my |
That is the format of every error tuple in a stacktrace. The strange part is that it isn't part of a list. |
Here to chime in that we just experienced a similar issue where the Honeybadger.Notice.new call fails because the stacktrace is a tuple and not a list.
|
Hi! I have an Elixir/Phoenix app using Honeybadger for error reporting and logging. During development (and I suspect occasionally in production) the server throws a
DBConnection.ConnectionError
. This happens from time to time, and I'm working on optimizing queries. What is strange is that I see the Honeybadger application is running as well, as I've tried to disable it in the development environment.Here's an example of one such error:
As stated above, I tried to take measures to ensure that Honeybadger doesn't run during development. In
mix.exs
a function is used to collect the appropriateextra_applications
:mix.exs
:In addition to that, I tried to make sure that the
Honeybadger.Plug
is only conditionally used inrouter.ex
:This behavior is probably not correct, so I think I maybe have something wrong in my setup somewhere. In the interest of putting everything up for examination I've included the dev and prod configs.
config.exs
:dev.exs
:prod.exs
:This problem is a real head-scratcher for me, so any and all help or suggestions are greatly appreciated!
The text was updated successfully, but these errors were encountered: