Skip to content

Commit

Permalink
Fix @logger.error using wrong variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
kxs-who committed Jun 4, 2024
1 parent df9042b commit b4d2759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/logstash/outputs/datadog_logs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def send_retries(payload, max_retries, max_backoff)
retries += 1
retry
end
@logger.error("Max number of retries reached, dropping message. Last exception: #{ex.message}")
@logger.error("Max number of retries reached, dropping message. Last exception: #{e.message}")
rescue => ex
if ex.is_a?(InterruptedError)
raise ex
Expand Down

0 comments on commit b4d2759

Please sign in to comment.