5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 00:36:21 +00:00

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