Permalink
Browse files

More debugging

  • Loading branch information...
kyledrake committed Jun 17, 2012
1 parent 4f01dd4 commit a654bac5ce6e5530aab12fb25ab0fa30a8f8f52b
Showing with 4 additions and 0 deletions.
  1. +4 −0 user.rb
View
@@ -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?

0 comments on commit a654bac

Please sign in to comment.