Skip to content

Commit

Permalink
Rename key to worker instead of index
Browse files Browse the repository at this point in the history
  • Loading branch information
roelbondoc committed May 17, 2024
1 parent b83aee1 commit ea0101d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puma/plugin/honeybadger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def record

if stats[:worker_status].is_a?(Array)
stats[:worker_status].each do |worker_data|
context = { index: worker_data[:index] }
context = { worker: worker_data[:index] }
record_puma_stats(worker_data[:last_status], context)
end
else
Expand Down

0 comments on commit ea0101d

Please sign in to comment.