Skip to content

Commit 1e535a0

Browse files
authored
Merge pull request #345 from henrysher/fix-the-missing-logs
Fix the #343 to add more logs for captured exceptions
2 parents f00e42f + c7db6e5 commit 1e535a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/fluent/plugin/in_s3.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def run
192192
end
193193
end
194194
rescue => e
195-
log.warn("SQS Polling Failed. Retry in #{@sqs.retry_error_interval} seconds")
195+
log.warn("SQS Polling Failed. Retry in #{@sqs.retry_error_interval} seconds", error: e)
196196
sleep(@sqs.retry_error_interval)
197197
retry
198198
end

0 commit comments

Comments
 (0)