mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 18:46:22 +00:00
tabla correcta y más información
This commit is contained in:
parent
5977aa37af
commit
39fc094790
1 changed files with 6 additions and 1 deletions
|
@ -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, "") %>
|
||||
|
|
Loading…
Reference in a new issue