File b5ba35d4af505bf5240c9d5059a8dbe42319f934.patch of Package errbit

From b5ba35d4af505bf5240c9d5059a8dbe42319f934 Mon Sep 17 00:00:00 2001
From: Henne Vogelsang <hvogel@opensuse.org>
Date: Tue, 20 Jun 2017 17:19:38 +0200
Subject: [PATCH] Don't include too much stuff in issues

---
 app/views/issue_trackers/issue.md.erb | 39 +++++------------------------------
 1 file changed, 5 insertions(+), 34 deletions(-)

diff --git a/app/views/issue_trackers/issue.md.erb b/app/views/issue_trackers/issue.md.erb
index 6b39c6183..f97c51865 100644
--- a/app/views/issue_trackers/issue.md.erb
+++ b/app/views/issue_trackers/issue.md.erb
@@ -1,41 +1,12 @@
-[See this exception on Errbit](<%= app_problem_url problem.app, problem %>)
 <% if notice = problem.notices.first %>
-# <%= notice.message %> #
-## Summary ##
+<%= notice.where %> threw this <%= (notice.problem.notices_count - 1).to_s %> times
+<pre>
+<%= notice.message %>
+</pre>
 <% if notice.request['url'].present? %>
-### URL ###
 [<%= notice.request['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_relative %> -> **<%= line.method %>**
-<% end %>
-~~~
-
-<% if notice.env_vars.present? %>
-## Environment ##
-| Key        | Value      |
-|------------|------------|
-<% notice.env_vars.each do |key, val| %>| <%= key %> | <%= val %> |
-<% end %>
-<% end %>
+[See this exception on Errbit](<%= app_problem_url problem.app, problem %>)
 <% end %>
openSUSE Build Service is sponsored by