lib/semantic_logger/formatters/syslog.rb in semantic_logger-4.6.0.beta1 vs lib/semantic_logger/formatters/syslog.rb in semantic_logger-4.6.0
- old
+ new
@@ -1,8 +1,8 @@
begin
require 'syslog_protocol'
rescue LoadError
- raise 'Gem syslog_protocol is required for remote logging using the Syslog protocol. Please add the gem "syslog_protocol" to your Gemfile.'
+ raise LoadError.new('Gem syslog_protocol is required for remote logging using the Syslog protocol. Please add the gem "syslog_protocol" to your Gemfile.')
end
module SemanticLogger
module Formatters
class Syslog < Default