mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Merge pull request #2913 from brianebeyer/patch-1
Truncate text in display_args based on formerly unused variable
This commit is contained in:
commit
7dded0cef9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue