]> cat aescling's git repositories - mastodon.git/commit
Fix BackupService crashing when an attachment is missing (#11241)
authorThibG <thib@sitedethib.com>
Mon, 8 Jul 2019 00:24:25 +0000 (02:24 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Mon, 8 Jul 2019 00:24:25 +0000 (02:24 +0200)
commit87c1ad4ea3c4714e8698a697a380471cc2d2d496
tree20f3969a473dc8995ed749ac8d80439bb35b6de4
parent3ece6e25e6771c17bf79774564e6999003499f46
Fix BackupService crashing when an attachment is missing (#11241)

* Fix BackupService crashing when an attachment is missing

For various reasons such as admin error or out-of-sync media and
database backups, it might be possible for local attachments to be lost.

This commit allows the BackupService to continue its work even if some media
file is missing.

* Change error message
app/services/backup_service.rb