This commit is contained in:
Jeong Arm 2024-05-17 14:05:41 +00:00 committed by GitHub
commit 3a61b8bd92
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,6 +16,7 @@ class RedownloadAvatarWorker
account.reset_avatar!
account.save!
rescue ActiveRecord::RecordNotFound
rescue ActiveRecord::RecordInvalid
# Do nothing
rescue Mastodon::UnexpectedResponseError => e
response = e.response