app/views/issue_trackers/bitbucket_issues_body.txt.erb
[[<%= app_problem_url problem.app, problem %>| [See this exception on Errbit]]]
----
<% if notice = problem.notices.first %>
<%= notice.message %>
----
== Summary ==
<% if notice.request['url'].present? %>
=== URL ===
[[<%= notice.request['url'] %>]]
<% end %>
----
=== 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'].to_s.sub(/^\[PROJECT_ROOT\]/, '') %> -> **<%= line['method'] %>** |
<% end %>
----
== Environment ==
<% for key, val in notice.env_vars %>
| <%= key %>: | <%= val %> |
<% end %>
<% end %>