Skip to content

Commit 992ba1c

Browse files
committed
argh
1 parent 51b69a4 commit 992ba1c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

app/services/fetch_service.rb

+5-5
Original file line numberDiff line numberDiff line change
@@ -161,12 +161,12 @@ def score_snapshot snapshot, try
161161
puts "the score is #{score}"
162162
puts "nan? #{score.nan?}" if score.is_a? Float
163163
if score.is_a?(Float) && score.nan?
164-
snapshot_query.query.notes ||= ""
165-
snapshot_query.query.notes << "\n Fetch Service Snapshot #{snapshot_query.snapshot.id}"
166-
snapshot_query.query.notes << "\n Fetch Service Snapshot Query #{snapshot_query.id}, #{snapshot_query.query.query_text}"
164+
# snapshot_query.query.notes ||= ""
165+
# snapshot_query.query.notes << "\n Fetch Service Snapshot #{snapshot_query.snapshot.id}"
166+
# snapshot_query.query.notes << "\n Fetch Service Snapshot Query #{snapshot_query.id}, #{snapshot_query.query.query_text}"
167167

168-
snapshot_query.query.notes << "\n Score was NaN"
169-
snapshot_query.query.save!
168+
# snapshot_query.query.notes << "\n Score was NaN"
169+
# snapshot_query.query.save!
170170
score = nil
171171
end
172172
snapshot_query.score = score

0 commit comments

Comments
 (0)