Commit 6cc633521b487c15fc3e8da1fe5d0e88de50a7f4

Authored by Nathan Broadbent
1 parent dd75f486
Exists in master and in 1 other branch production

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 20 - else
21 21 %span.environment= link_to err.environment, app_path(err.app, :environment => err.environment)
22 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 24 %em= err.where
25 25 - if err.comments.any?
26 26 - comment = err.comments.last
... ...