Skip to content

Commit

Permalink
More debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
kyledrake committed Jun 17, 2012
1 parent 4f01dd4 commit a654bac
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions user.rb
Expand Up @@ -44,6 +44,10 @@ def update_location
end

def perform_forecast
if @user_id == 'FnG'
puts "Location for FnG: #{@location.to_hash}"
end

return false if @current_forecast && !@current_forecast.check_timeout_time.nil? && @current_forecast.check_timeout_time > Time.now
# update_location <- doing this before the throttle to reduce loop wait slowdown
return if @location.nil?
Expand Down

0 comments on commit a654bac

Please sign in to comment.