more verbose not valid object error
This commit is contained in:
parent
3bc81aeb67
commit
cbbaa2f80d
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ module Postzord
|
|||
set_author!
|
||||
receive_object
|
||||
else
|
||||
raise "not a valid object:#{@object.valid?} #{@object.errors.full_messages.join(", ")} #{@object.inspect}"
|
||||
raise "not a valid object:#{@object.inspect}"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue