mirror of
https://github.com/System-End/cdn.git
synced 2026-04-19 15:18:15 +00:00
weh
This commit is contained in:
parent
ef79dabe59
commit
73b5aecf3a
1 changed files with 2 additions and 0 deletions
|
|
@ -89,5 +89,7 @@ class Upload < ApplicationRecord
|
|||
|
||||
def purge_blob
|
||||
blob.purge
|
||||
rescue Aws::S3::Errors::NoSuchKey
|
||||
Rails.logger.info("Blob #{blob.key} already deleted from S3, skipping purge")
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue