lib/fluent/plugin/out_s3.rb in fluent-plugin-s3-0.8.3 vs lib/fluent/plugin/out_s3.rb in fluent-plugin-s3-0.8.4
- old
+ new
@@ -347,10 +347,10 @@
def check_apikeys
@bucket.objects(:prefix => @path).first
rescue Aws::S3::Errors::NoSuchBucket
# ignore NoSuchBucket Error because ensure_bucket checks it.
rescue => e
- raise "can't call S3 API. Please check your aws_key_id / aws_sec_key or s3_region configuration. error = #{e.inspect}"
+ raise "can't call S3 API. Please check your credentials or s3_region configuration. error = #{e.inspect}"
end
def setup_credentials
options = {}
credentials_options = {}