Permalink
Browse files

stop embarassing yourself

  • Loading branch information...
1 parent c97a774 commit 5e531ff969da20b128f9ccd164a709baebaa9786 @Sharagoz committed Mar 19, 2012
Showing with 1 addition and 4 deletions.
  1. +1 −4 lib/rails_exception_handler/storage.rb
@@ -16,10 +16,7 @@ def self.store_in_rails_log(info)
def self.store_in_remote_url(target, info)
uri = URI.parse(target)
- params = {}
- info.each do |key,value|
- params["error_message[#{key}]"] = value
- end
+ params = {:error_message => info}
Net::HTTP::post_form(uri, params)
end
end

0 comments on commit 5e531ff

Please sign in to comment.