Permalink
Browse files

Fix the general create/update/delete exception

  • Loading branch information...
1 parent f6ebd06 commit 0ea6755abf5752b344c983aa5f3610c5686fe198 @halorgium halorgium committed Nov 25, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 salesforce/lib/salesforce_api.rb
@@ -26,7 +26,7 @@ def result_message
end.join("; ")
end
- def message_for_record(result)
+ def message_for_record(record)
record.errors.map {|e| "#{e.statusCode}: #{e.message}"}.join(", ")
end
end

0 comments on commit 0ea6755

Please sign in to comment.