From 7ffdc43091faf388a5928e8ebf7ce01546b2276f Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Fri, 21 Aug 2015 12:43:10 -0400 Subject: [PATCH] Include the error messages so we can debug this easier --- app/models/queued_post.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/queued_post.rb b/app/models/queued_post.rb index 6bbff2a0530..e0199bd137f 100644 --- a/app/models/queued_post.rb +++ b/app/models/queued_post.rb @@ -72,7 +72,7 @@ class QueuedPost < ActiveRecord::Base created_post = creator.create unless created_post && creator.errors.blank? - raise StandardError, "Failed to create post #{raw[0..100]} #{creator.errors}" + raise StandardError, "Failed to create post #{raw[0..100]} #{creator.errors.full_messages.inspect}" end end