diff --git a/lib/que/web/viewmodels/job.rb b/lib/que/web/viewmodels/job.rb index 15c0bea..e8bfae5 100644 --- a/lib/que/web/viewmodels/job.rb +++ b/lib/que/web/viewmodels/job.rb @@ -1,8 +1,8 @@ module Que::Web::Viewmodels class Job < Struct.new( :priority, :run_at, :id, :job_class, :error_count, :last_error_message, - :queue, :last_error_backtrace, :finished_at, :expired_at, :args, :data, - :backend_pid) + :queue, :last_error_backtrace, :finished_at, :expired_at, :args, :kwargs, + :data, :backend_pid) def initialize(job) members.each do |m| diff --git a/web/views/show.erb b/web/views/show.erb index f34ee21..e9cadf6 100644 --- a/web/views/show.erb +++ b/web/views/show.erb @@ -34,6 +34,10 @@
<%= h JSON.pretty_generate(@job.args) %>
<%= h JSON.pretty_generate(@job.kwargs) %>