lib/semantic_logger/appender/rabbitmq.rb in semantic_logger-4.6.0.beta1 vs lib/semantic_logger/appender/rabbitmq.rb in semantic_logger-4.6.0
- old
+ new
@@ -1,8 +1,8 @@
begin
require 'bunny'
rescue LoadError
- raise 'Gem bunny is required for logging to RabbitMQ. Please add the gem "bunny" to your Gemfile.'
+ raise LoadError.new('Gem bunny is required for logging to RabbitMQ. Please add the gem "bunny" to your Gemfile.')
end
# Forward all log messages to RabbitMQ.
#
# Example: