Skip to content

Commit

Permalink
back out additional logging in test_connection
Browse files Browse the repository at this point in the history
  • Loading branch information
mediocretes committed Aug 28, 2019
1 parent 51b6e06 commit bd443c0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/instrumental/agent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -351,12 +351,8 @@ def test_connection
begin
@socket.read_nonblock(1)
@failures = 0
rescue *wait_exceptions => e
rescue *wait_exceptions
# no-op
@logger.error "test connection failed with a wait exception in #{Process.pid}" if @logger
rescue Exception => e
@logger.error "test connection failed with an unknown exception #{e.class} in #{Process.pid}" if @logger
raise e
end
end

Expand Down

0 comments on commit bd443c0

Please sign in to comment.