mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
Include the error messages so we can debug this easier
This commit is contained in:
parent
2b72bd3592
commit
7ffdc43091
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue