app/views/issue_trackers/fogbugz_body.txt.erb
"See this exception on Errbit": <%= app_problem_url(problem.app, problem) %>
<% if notice = problem.notices.first %>
<%= notice.message %>
Summary
- Where
<%= notice.where %>
- Occured
<%= notice.created_at.to_s(:micro) %>
- Similar
<%= (notice.problem.notices_count - 1).to_s %>
Params
<%= pretty_hash(notice.params) %>
Session
<%= pretty_hash(notice.session) %>
Backtrace
<% notice.backtrace_lines.each do |line| %>
<%= line.number %>: <%= line.file_relative %>
<% end %>
Environment
<% for key, val in notice.env_vars %>
<%= key %>: <%= val %>
<% end %>
<% end %>