lib/s3.rb in gridium-1.1.44 vs lib/s3.rb in gridium-1.1.45

- old
+ new

@@ -29,10 +29,10 @@ return @bucket.object(destination_name).public_url rescue Aws::S3::Errors::InvalidAccessKeyId Log.error("[GRIDIUM::S3] unable to save file to s3 due to Aws::S3::Errors::InvalidAccessKeyId") rescue Seahorse::Client::NetworkingError => error Log.error("[GRIDIUM::S3] unable to save file to s3 due to underlying network error: #{error}") - rescue StandardErrer => error + rescue StandardError => error Log.error("[GRIDIUM::S3] unable to save file to s3 due to unexpected error: #{error}") end end def create_s3_name(file_name)