fix debug mistype

This commit is contained in:
Alexander Machehin 2015-05-15 18:12:19 +05:00
parent d147e2f44a
commit f93314234a
1 changed files with 1 additions and 1 deletions

View File

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