diff options
Diffstat (limited to 'app/workers')
-rw-r--r-- | app/workers/base.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/workers/base.rb b/app/workers/base.rb index 7fb53f548..bb8315e50 100644 --- a/app/workers/base.rb +++ b/app/workers/base.rb @@ -14,7 +14,10 @@ module Workers rescue Diaspora::ContactRequiredUnlessRequest, Diaspora::RelayableObjectWithoutParent, # Friendica seems to provoke these - Diaspora::AuthorXMLAuthorMismatch => e + Diaspora::AuthorXMLAuthorMismatch, + # We received a private object to our public endpoint, again something + # Friendica seems to provoke + Diaspora::NonPublic => 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}") |