Permalink
Browse files

slightly more detailed loggin

  • Loading branch information...
1 parent cbe6258 commit d4d5bac47129729fbb7082abae188cb8fa6927fa @eddietejeda eddietejeda committed Mar 19, 2013
Showing with 1 addition and 2 deletions.
  1. +0 −1 CNAME
  2. +1 −1 lib/tasks/scheduler.rake
View
1 CNAME
@@ -1 +0,0 @@
-adoptadrainoakland.com
View
@@ -29,7 +29,7 @@ task :subscribe_recent_adopters, [:host, :api_key] => :environment do |t, args|
User.find_by_sql(sql).each do |user|
request_path = "/api/add_script_subscription?t=#{topic_id}&k=#{api_key}&e=#{user.email}"
uri = api_root + request_path
- Rails.logger.info "Attempting to subscribe #{user.email} with the following URL #{request_path}"
+ Rails.logger.info "Attempting to subscribe #{user.email} with the following URL #{uri}"
begin
response = HTTParty.get(uri)
Rails.logger.info response.body

0 comments on commit d4d5bac

Please sign in to comment.