2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

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

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)