Improve error messaging in `SocketServer`.
This commit is contained in:
parent
b33a623774
commit
5a9b029014
|
@ -70,7 +70,7 @@ class SocketServer
|
|||
rescue IOError, Errno::EPIPE
|
||||
# nothing to do here, case its normal on shutdown
|
||||
rescue => e
|
||||
Rails.logger.warn("Failed to handle connection in stats socket #{e}:\n#{e.backtrace.join("\n")}")
|
||||
Rails.logger.warn("Failed to handle connection #{e}:\n#{e.backtrace.join("\n")}")
|
||||
ensure
|
||||
socket&.close
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue