You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using ougai as my logger and initializing honeybadger, I'm unable to start a rails console, on a fresh rails-5.1.4 install, with ruby-2.3.1.
rails new rtest -d postgresql
cd rtest
copy files into place
bundle install
bundle exec rails s
should succeed
bundle exec rails c
should fail
Comment out logger line, in application.rb
bundle exec rails c
should succeed
Stacktrace of failure
/app/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/ougai-1.5.7/lib/ougai/formatters/readable.rb:22:in `delete': no implicit conversion of Symbol into String (TypeError)
from /app/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/ougai-1.5.7/lib/ougai/formatters/readable.rb:22:in `call'
from /app/.rbenv/versions/2.3.1/lib/ruby/2.3.0/logger.rb:546:in `format_message'
from /app/.rbenv/versions/2.3.1/lib/ruby/2.3.0/logger.rb:434:in `add'
from /app/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/honeybadger-3.2.0/lib/honeybadger/logging.rb:100:in `add'
from /app/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/honeybadger-3.2.0/lib/honeybadger/logging.rb:134:in `add'
from /app/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/honeybadger-3.2.0/lib/honeybadger/logging.rb:49:in `block (2 levels) in <class:Base>'
from /app/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/honeybadger-3.2.0/lib/honeybadger/config.rb:58:in `init!'
from /app/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/honeybadger-3.2.0/lib/honeybadger/init/rails.rb:21:in `block in <class:Railtie>'
from /app/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-5.1.4/lib/active_support/lazy_load_hooks.rb:67:in `block in execute_hook'
from /app/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-5.1.4/lib/active_support/lazy_load_hooks.rb:60:in `with_execution_control'
from /app/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-5.1.4/lib/active_support/lazy_load_hooks.rb:65:in `execute_hook'
from /app/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-5.1.4/lib/active_support/lazy_load_hooks.rb:50:in `block in run_load_hooks'
from /app/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-5.1.4/lib/active_support/lazy_load_hooks.rb:49:in `each'
from /app/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-5.1.4/lib/active_support/lazy_load_hooks.rb:49:in `run_load_hooks'
from /app/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-5.1.4/lib/rails/application/finisher.rb:73:in `block in <module:Finisher>'
from /app/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-5.1.4/lib/rails/initializable.rb:30:in `instance_exec'
from /app/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-5.1.4/lib/rails/initializable.rb:30:in `run'
from /app/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-5.1.4/lib/rails/initializable.rb:59:in `block in run_initializers'
from /app/.rbenv/versions/2.3.1/lib/ruby/2.3.0/tsort.rb:228:in `block in tsort_each'
from /app/.rbenv/versions/2.3.1/lib/ruby/2.3.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
from /app/.rbenv/versions/2.3.1/lib/ruby/2.3.0/tsort.rb:431:in `each_strongly_connected_component_from'
from /app/.rbenv/versions/2.3.1/lib/ruby/2.3.0/tsort.rb:349:in `block in each_strongly_connected_component'
from /app/.rbenv/versions/2.3.1/lib/ruby/2.3.0/tsort.rb:347:in `each'
from /app/.rbenv/versions/2.3.1/lib/ruby/2.3.0/tsort.rb:347:in `call'
from /app/.rbenv/versions/2.3.1/lib/ruby/2.3.0/tsort.rb:347:in `each_strongly_connected_component'
from /app/.rbenv/versions/2.3.1/lib/ruby/2.3.0/tsort.rb:226:in `tsort_each'
from /app/.rbenv/versions/2.3.1/lib/ruby/2.3.0/tsort.rb:205:in `tsort_each'
from /app/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-5.1.4/lib/rails/initializable.rb:58:in `run_initializers'
from /app/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-5.1.4/lib/rails/application.rb:353:in `initialize!'
from /app/devel/rtest2/config/environment.rb:5:in `<top (required)>'
from /app/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `require'
from /app/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `block in require'
from /app/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:258:in `load_dependency'
from /app/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `require'
from /app/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/spring-2.0.2/lib/spring/application.rb:102:in `preload'
from /app/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/spring-2.0.2/lib/spring/application.rb:153:in `serve'
from /app/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/spring-2.0.2/lib/spring/application.rb:141:in `block in run'
from /app/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/spring-2.0.2/lib/spring/application.rb:135:in `loop'
from /app/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/spring-2.0.2/lib/spring/application.rb:135:in `run'
from /app/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/spring-2.0.2/lib/spring/application/boot.rb:19:in `<top (required)>'
from /app/.rbenv/versions/2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /app/.rbenv/versions/2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from -e:1:in `<main>'
require_relative'boot'require'rails/all'require_relative'../lib/ld_api/logger'# Require the gems listed in Gemfile, including any gems# you've limited to :test, :development, or :production.Bundler.require(*Rails.groups)moduleRtest2classApplication < Rails::Application# Initialize configuration defaults for originally generated Rails version.config.load_defaults5.1# Settings in config/environments/* take precedence over those specified here.# Application configuration should go into files in config/initializers# -- all .rb files in that directory are automatically loaded.config.autoload_paths << Rails.root.join('lib')config.colorize_logging=falseconfig.logger=LdApi::Logger.new(STDOUT)endend
Thank you for the bug report.
I released v1.5.8 fixed. please use it!
[2017-12-21T15:41:00.064+09:00] INFO: ** [Honeybadger] Initializing Honeybadger Error Tracker for Ruby. Ship it! version=3.2.0 framework=rails level=1 pid=50535
[2017-12-21T15:41:00.065+09:00] WARN: ** [Honeybadger] Development mode is enabled. Data will not be reported until you deploy your app. level=2 pid=50535
Running via Spring preloader in process 50541
Loading development environment (Rails 5.1.4)
irb(main):001:0>
When using ougai as my logger and initializing honeybadger, I'm unable to start a rails console, on a fresh rails-5.1.4 install, with ruby-2.3.1.
rails new rtest -d postgresql
cd rtest
bundle install
bundle exec rails s
bundle exec rails c
bundle exec rails c
Stacktrace of failure
Gemfile
config/application.rb
lib/ld_api/logger.rb
config/honeybadger.yml
The text was updated successfully, but these errors were encountered: