Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Schubert <mail@dennis-schubert.de>2015-05-10 03:29:57 +0300
committerJonne Haß <me@jhass.eu>2015-05-10 15:25:50 +0300
commit32f95a860c4e47539c8feb909a3c7c696d1ae7ef (patch)
tree70260d71e57f35f4c7150c7741dd1f2d419b767c /app/workers
parent0c5443d543b53a72cee65c9c112fce0936f3682f (diff)
We don't always have invalid record messages ... so log the exception message instead.
Diffstat (limited to 'app/workers')
-rw-r--r--app/workers/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/base.rb b/app/workers/base.rb
index bb8315e50..25ceadaa3 100644
--- a/app/workers/base.rb
+++ b/app/workers/base.rb
@@ -23,7 +23,7 @@ module Workers
Rails.logger.info("failed to save received object: #{e.record.errors.full_messages}")
raise e unless e.message.match(/already been taken/)
rescue ActiveRecord::RecordNotUnique => e
- Rails.logger.info("failed to save received object: #{e.record.errors.full_messages}")
+ Rails.logger.info("failed to save received object: #{e.message}")
raise e unless %w(
index_comments_on_guid
index_likes_on_guid