Skip to content

Commit

Permalink
Merge pull request #170 from tiramizoo/format-params
Browse files Browse the repository at this point in the history
Format serialized params to ease reading
  • Loading branch information
bensheldon authored Nov 1, 2020
2 parents f210955 + 01fed77 commit 786144c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engine/app/views/shared/_jobs_table.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<th>Job Class</th>
<th>Queue</th>
<th>Scheduled At</th>
<th>ActiveJob Params</th>
<th>Error</th>
<th>ActiveJob Params</th>
</thead>
<tbody>
<% jobs.each do |job| %>
Expand All @@ -17,8 +17,8 @@
<td><%= job.serialized_params['job_class'] %></td>
<td><%= job.queue_name %></td>
<td><%= job.scheduled_at || job.created_at %></td>
<td><%= job.serialized_params %></td>
<td><%= job.error %></td>
<td><pre><%= JSON.pretty_generate(job.serialized_params) %></pre></td>
</tr>
<% end %>
</tbody>
Expand Down

0 comments on commit 786144c

Please sign in to comment.