more verbose not valid object error

This commit is contained in:
Maxwell Salzberg 2011-09-16 16:43:03 -07:00
parent 3bc81aeb67
commit cbbaa2f80d

View file

@ -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