Include the error messages so we can debug this easier
This commit is contained in:
parent
2b72bd3592
commit
7ffdc43091
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue