Commit 6cc633521b487c15fc3e8da1fe5d0e88de50a7f4
1 parent
dd75f486
Exists in
master
and in
1 other branch
Truncate error message in errs table if over 230 characters
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/errs/_table.html.haml
| @@ -20,7 +20,7 @@ | @@ -20,7 +20,7 @@ | ||
| 20 | - else | 20 | - else |
| 21 | %span.environment= link_to err.environment, app_path(err.app, :environment => err.environment) | 21 | %span.environment= link_to err.environment, app_path(err.app, :environment => err.environment) |
| 22 | %td.message | 22 | %td.message |
| 23 | - = link_to err.message, app_err_path(err.app, err) | 23 | + = link_to truncate(err.message, :length => 230), app_err_path(err.app, err) |
| 24 | %em= err.where | 24 | %em= err.where |
| 25 | - if err.comments.any? | 25 | - if err.comments.any? |
| 26 | - comment = err.comments.last | 26 | - comment = err.comments.last |