1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Remove debug

This commit is contained in:
James Miller 2012-02-22 13:04:18 -08:00
parent 08a0c78581
commit 978a423419

View file

@ -18,7 +18,6 @@ module Sidekiq
private
def send_to_airbrake(msg, ex)
logger.debug "Reporting error to Airbrake"
::Airbrake.notify(:error_class => ex.class.name,
:error_message => "#{ex.class.name}: #{ex.message}",
:parameters => msg)
@ -26,11 +25,8 @@ module Sidekiq
def send_to_exceptional(msg, ex)
if ::Exceptional::Config.should_send_to_api?
logger.debug "Reporting error to Exceptional"
::Exceptional.context(msg)
::Exceptional::Remote.error(::Exceptional::ExceptionData.new(ex))
else
logger.debug "Not reporting error to Exceptional"
end
end
end