Sha256: bc65c9cad5fbb3ee2ea7a279e32190c41eff3e4b2b305a7ebb947665a643be95
Contents?: true
Size: 462 Bytes
Versions: 8
Compression:
Stored size: 462 Bytes
Contents
module Harness class SynchronousQueue def push(measurement) begin Harness::Job.new.log(measurement) rescue LoggingError => ex logger.debug "[Harness] Logging measurement failed! Server Said: #{ex}" logger.debug ex.backtrace.join("\n") logger.warn "[Harness] Could not post measurement! Enable debug logging to see full errors" end end private def logger Harness.logger end end end
Version data entries
8 entries across 8 versions & 1 rubygems