mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-14 23:01:41 +00:00
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