tabla correcta y más información

This commit is contained in:
f 2021-03-19 19:54:56 -03:00
parent 5977aa37af
commit 39fc094790

View file

@ -1,10 +1,15 @@
<% if @data['backtrace'] %> <% if @data['backtrace'] %>
<% @data['errors'].each do |error| %> <% @data.dig(:params, 'errors')&.each do |error| %>
# <%= error['type'] %>: <%= error['message'] %> # <%= error['type'] %>: <%= error['message'] %>
<%= Terminal::Table.new headings: error['backtrace'].first.keys, rows: error['backtrace'].map(&:values) %> <%= Terminal::Table.new headings: error['backtrace'].first.keys, rows: error['backtrace'].map(&:values) %>
<% end %> <% end %>
<%= @data.dig(:params, 'context', 'userAgent') %>
<<%= @data.dig(:params, 'context', 'url') %>>
<% else %> <% else %>
```ruby ```ruby
<%= raw PP.pp(@data, "") %> <%= raw PP.pp(@data, "") %>