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