Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

More debugging

  • Loading branch information...
commit a654bac5ce6e5530aab12fb25ab0fa30a8f8f52b 1 parent 4f01dd4
@kyledrake kyledrake authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 user.rb
View
4 user.rb
@@ -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?
Please sign in to comment.
Something went wrong with that request. Please try again.