lib/contrast/agent.rb in contrast-agent-6.1.2 vs lib/contrast/agent.rb in contrast-agent-6.2.0
- old
+ new
@@ -74,13 +74,11 @@
# @return [nil, Contrast::Agent::Telemetry::Base]
def self.telemetry_queue
thread_watcher.telemetry_queue
end
- # @return [nil, Contrast::Agent::Reporter]
+ # @return [Contrast::Agent::Reporter]
def self.reporter
- return unless thread_watcher.reporter
-
thread_watcher.reporter
end
def self.thread_watcher
@_thread_watcher ||= Contrast::Agent::ThreadWatcher.new