diff --git a/app/workers/base.rb b/app/workers/base.rb index 1e6d4718ec606348caeb2b6f316b9c248ed37498..c43f60929ef670376adff843f313ce786df06d96 100644 --- a/app/workers/base.rb +++ b/app/workers/base.rb @@ -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}")