Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/fluent/plugin/in_sqs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ def run

router.emit(@tag, Fluent::Engine.now, record)
end
rescue
log.error 'failed to emit or receive', error: $ERROR_INFO.to_s, error_class: $ERROR_INFO.class.to_s
log.warn_backtrace $ERROR_INFO.backtrace
rescue => ex
log.error 'failed to emit or receive', error: ex.to_s, error_class: ex.class
log.warn_backtrace ex.backtrace
end

private
Expand Down