diff --git a/app/views/errs/_table.html.haml b/app/views/errs/_table.html.haml index c91ffa6..7fc5fa3 100644 --- a/app/views/errs/_table.html.haml +++ b/app/views/errs/_table.html.haml @@ -30,7 +30,8 @@ - comment = problem.comments.last %br .inline_comment - %em.commenter= (Errbit::Config.user_has_username ? comment.user.username : comment.user.email).to_s << ":" + - if comment.user + %em.commenter= (Errbit::Config.user_has_username ? comment.user.username : comment.user.email).to_s << ":" %em= truncate(comment.body, :length => 100, :separator => ' ') %td.latest #{time_ago_in_words(last_notice_at problem)} ago %td.deploy= problem.last_deploy_at ? problem.last_deploy_at.to_s(:micro) : 'n/a' -- libgit2 0.21.2