lib/semantic_logger/appender/tcp.rb in semantic_logger-4.6.0.beta1 vs lib/semantic_logger/appender/tcp.rb in semantic_logger-4.6.0

- old
+ new

@@ -1,8 +1,8 @@ begin require 'net/tcp_client' rescue LoadError - raise 'Gem net_tcp_client is required for logging over TCP. Please add the gem "net_tcp_client" to your Gemfile.' + raise LoadError.new('Gem net_tcp_client is required for logging over TCP. Please add the gem "net_tcp_client" to your Gemfile.') end raise 'Net::TCPClient v2.0 or greater is required to log over TCP' unless Net::TCPClient::VERSION.to_f >= 2.0 module SemanticLogger