mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
DEV: S3Inventory#unsorted_files
should always return an array (#8034)
This commit is contained in:
parent
1f118b1309
commit
68708db721
|
@ -265,6 +265,7 @@ class S3Inventory
|
||||||
objects
|
objects
|
||||||
rescue Aws::Errors::ServiceError => e
|
rescue Aws::Errors::ServiceError => e
|
||||||
log("Failed to list inventory from S3", e)
|
log("Failed to list inventory from S3", e)
|
||||||
|
[]
|
||||||
end
|
end
|
||||||
|
|
||||||
def inventory_id
|
def inventory_id
|
||||||
|
|
Loading…
Reference in New Issue
Block a user