mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Remove debug
This commit is contained in:
parent
08a0c78581
commit
978a423419
1 changed files with 0 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue