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

Truncate text in display_args based on formerly unused variable

This commit is contained in:
Brian Beyer 2016-04-06 16:08:47 -06:00
parent 4489edd5a9
commit b2ad7ba3fe

View file

@ -166,7 +166,7 @@ module Sidekiq
def display_args(args, truncate_after_chars = 2000)
args.map do |arg|
h(truncate(to_display(arg)))
h(truncate(to_display(arg), truncate_after_chars))
end.join(", ")
end