diff options
Diffstat (limited to 'activejob/lib/active_job')
-rw-r--r-- | activejob/lib/active_job/logging.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/activejob/lib/active_job/logging.rb b/activejob/lib/active_job/logging.rb index 97d11aebfc..cd29e6908e 100644 --- a/activejob/lib/active_job/logging.rb +++ b/activejob/lib/active_job/logging.rb @@ -84,14 +84,10 @@ module ActiveJob event.payload[:adapter].name.demodulize.remove('Adapter') + "(#{event.payload[:job].queue_name})" end - def global_id_or_inspected(argument) - argument.try(:to_global_id).try(:to_s) || argument.inspect - end - def args_info(job) if job.arguments.any? ' with arguments: ' + - job.arguments.map { |arg| global_id_or_inspected(arg) }.join(', ') + job.arguments.map { |arg| arg.try(:to_global_id).try(:to_s) || arg.inspect }.join(', ') else '' end |