FIX: fix error message for fix_missing_s3 rake task (#13661)

This commit is contained in:
Arpit Jalan 2021-07-07 19:59:03 +05:30 committed by GitHub
parent 35110f6681
commit dec7e19da3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1046,7 +1046,7 @@ def fix_missing_s3
end
if save_error
puts "Failed to save upload #{saved.errors.full_messages}"
puts "Failed to save upload #{save_error}"
else
OptimizedImage.where(upload_id: upload.id).destroy_all
rebake_ids = PostUpload.where(upload_id: upload.id).pluck(:post_id)