renderizar la tabla como texto plano
This commit is contained in:
parent
1d8e04dbb1
commit
b60dff4df4
1 changed files with 3 additions and 1 deletions
|
@ -2,7 +2,9 @@
|
|||
<% @data.dig(:params, 'errors')&.each do |error| %>
|
||||
# <%= 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).map(&:strip) %>
|
||||
```
|
||||
|
||||
<% end %>
|
||||
|
||||
|
|
Loading…
Reference in a new issue