lib/semantic_logger/metric/statsd.rb in semantic_logger-4.6.0.beta1 vs lib/semantic_logger/metric/statsd.rb in semantic_logger-4.6.0
- old
+ new
@@ -1,9 +1,9 @@
require 'uri'
begin
require 'statsd-ruby'
rescue LoadError
- raise 'Gem statsd-ruby is required for logging metrics. Please add the gem "statsd-ruby" to your Gemfile.'
+ raise LoadError.new('Gem statsd-ruby is required for logging metrics. Please add the gem "statsd-ruby" to your Gemfile.')
end
module SemanticLogger
module Metric
class Statsd < Subscriber