]> 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)
committerThibaut Girka <thib@sitedethib.com>
Sun, 14 Jul 2019 22:48:49 +0000 (00:48 +0200)
commitbd77fd6ff3cf17a512d26547f78af1e804bd432d
treed874efb806d7b59e8c2fea588aab60e0f1388285
parentb07300828249d4199e2d5fa72fe5808d2387f1c0
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