fix debug mistype
This commit is contained in:
parent
d147e2f44a
commit
f93314234a
|
@ -52,7 +52,7 @@ module BuildLists
|
|||
begin
|
||||
bl.save!
|
||||
rescue ActiveRecord::RecordInvalid => invalid
|
||||
raise 'bl.save! ' + invalid.record.errors
|
||||
raise 'bl.save! ' + invalid.record.errors.full_messages.join('; ')
|
||||
end
|
||||
else
|
||||
raise 'BuildListPolicy.new(user, bl).create? is false!'
|
||||
|
|
Loading…
Reference in New Issue