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'] %>
|
<% 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, "") %>
|
||||||
|
|
Loading…
Reference in a new issue