Don't retry Diaspora::AuthorXMLAuthorMismatch
They're not healable and seem to only occur on Friendica posts
This commit is contained in:
parent
b35eb70975
commit
476376dcb0
1 changed files with 3 additions and 1 deletions
|
|
@ -12,7 +12,9 @@ module Workers
|
|||
def suppress_annoying_errors(&block)
|
||||
yield
|
||||
rescue Diaspora::ContactRequiredUnlessRequest,
|
||||
Diaspora::RelayableObjectWithoutParent => e
|
||||
Diaspora::RelayableObjectWithoutParent,
|
||||
# Friendica seems to provoke these
|
||||
Diaspora::AuthorXMLAuthorMismatch => e
|
||||
Rails.logger.info("error on receive: #{e.class}")
|
||||
rescue ActiveRecord::RecordInvalid => e
|
||||
Rails.logger.info("failed to save received object: #{e.record.errors.full_messages}")
|
||||
|
|
|
|||
Loading…
Reference in a new issue