Skip to content

Commit c7db6e5

Browse files
committed
Fix the #343 to add more logs for captured exceptions
Signed-off-by: Henry Huang <[email protected]>
1 parent f00e42f commit c7db6e5

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)