Class: Gemstar::WEBrickLogger

Inherits:
WEBrick::Log
  • Object
show all
Defined in:
lib/gemstar/webrick_logger.rb

Constant Summary collapse

EXPECTED_DISCONNECT_ERRORS =
[
  Errno::ECONNRESET,
  Errno::ECONNABORTED,
  Errno::EPIPE
].freeze

Instance Method Summary collapse

Instance Method Details

#error(message) ⇒ Object



9
10
11
12
13
# File 'lib/gemstar/webrick_logger.rb', line 9

def error(message)
  return if expected_disconnect?(message)

  super
end