Actions
Bug #22764
closedTelemetry errors out with undefined method `[]' for nil:NilClass on Rails code reload
Description
This only happens when reloading Rails in dev mode.
lib/foreman/telemetry.rb:49:in `block (2 levels) in register_rails' lib/foreman/telemetry.rb:48:in `each' lib/foreman/telemetry.rb:48:in `block in register_rails' lib/middleware/telemetry.rb:9:in `call' lib/middleware/catch_json_parse_errors.rb:8:in `call' lib/middleware/session_safe_logging.rb:17:in `call' lib/middleware/tagged_logging.rb:18:in `call'
Problem on
increment_counter(metric_name, after[ruby_key] - before[ruby_key], :controller => controller, :action => action) if after.include?(ruby_key)
Updated by The Foreman Bot over 6 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/5293 added
Updated by Ivan Necas over 6 years ago
- Status changed from Ready For Testing to Closed
- Translation missing: en.field_release set to 330
Updated by Lukas Zapletal over 6 years ago
- Related to Feature #18675: Add telemetry to Foreman core added
Actions