lib/tracer_client/server.rb in tracer_client-0.2.1 vs lib/tracer_client/server.rb in tracer_client-0.3.0
- old
+ new
@@ -2,11 +2,11 @@
module Tracer
module Server
def self.log(notice_hash)
- send("http://#{Settings.tracer.host}:#{Settings.tracer.port}/api/v3/projects/#{Settings.tracer.project}/notices?api_key=#{Settings.tracer.api_key}", notice_hash)
+ send("http://#{Settings.tracer.host}:#{Settings.tracer.port}/api/v3/project/#{Settings.tracer.project}/notices?api_key=#{Settings.tracer.api_key}", notice_hash)
end
def self.log_changes(changes_hash)
Rails.logger.debug "Log change: #{changes_hash.inspect}"
@@ -31,6 +31,6 @@
Rails.logger.error "Tracer request url: #{url}"
Rails.logger.error "Tracer exception #{e.inspect}: #{e.message}"
end
end
-end
\ No newline at end of file
+end