lib/airbrake/rails3_tasks.rb in airbrake-3.1.2 vs lib/airbrake/rails3_tasks.rb in airbrake-3.1.3
- old
+ new
@@ -5,11 +5,11 @@
desc "Verify your gem installation by sending a test exception to the airbrake service"
task :test => [:environment] do
Rails.logger = defined?(ActiveSupport::TaggedLogging) ?
ActiveSupport::TaggedLogging.new(Logger.new(STDOUT)) :
Logger.new(STDOUT)
-
+
Rails.logger.level = Logger::DEBUG
Airbrake.configure(true) do |config|
config.logger = Rails.logger
end
@@ -80,6 +80,5 @@
env = Rack::MockRequest.env_for("/verify")
Rails.application.call(env)
end
end
-