lib/sauce_whisk/jobs.rb in sauce_whisk-0.0.15 vs lib/sauce_whisk/jobs.rb in sauce_whisk-0.0.16
- old
+ new
@@ -16,10 +16,10 @@
end
def self.change_status(job_id, status)
put job_id, {"passed" => status}.to_json
rescue StandardError => e
- SauceWhisk.logger.puts "Unable to change_status for #{job_id} to #{status}\nReason: #{e.to_s}"
+ SauceWhisk.logger.error "Unable to change_status for #{job_id} to #{status}\nReason: #{e.to_s}"
end
def self.pass_job(job_id)
change_status(job_id, true)
end