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