From 68708db72188f740c033a1f0021c02c8f8c8e668 Mon Sep 17 00:00:00 2001 From: Osama Sayegh Date: Fri, 23 Aug 2019 10:59:31 +0300 Subject: [PATCH] DEV: `S3Inventory#unsorted_files` should always return an array (#8034) --- lib/s3_inventory.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/s3_inventory.rb b/lib/s3_inventory.rb index b69f4a0e719..b98e2e99094 100644 --- a/lib/s3_inventory.rb +++ b/lib/s3_inventory.rb @@ -265,6 +265,7 @@ class S3Inventory objects rescue Aws::Errors::ServiceError => e log("Failed to list inventory from S3", e) + [] end def inventory_id