diff --git a/app/views/issue_trackers/bitbucket_issues_body.txt.erb b/app/views/issue_trackers/bitbucket_issues_body.txt.erb deleted file mode 100644 index 1436115..0000000 --- a/app/views/issue_trackers/bitbucket_issues_body.txt.erb +++ /dev/null @@ -1,58 +0,0 @@ -[[<%= 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 %> - diff --git a/app/views/issue_trackers/fogbugz_body.txt.erb b/app/views/issue_trackers/fogbugz_body.txt.erb deleted file mode 100644 index b83bc00..0000000 --- a/app/views/issue_trackers/fogbugz_body.txt.erb +++ /dev/null @@ -1,31 +0,0 @@ -"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 %> - diff --git a/app/views/issue_trackers/github_issues_body.txt.erb b/app/views/issue_trackers/github_issues_body.txt.erb deleted file mode 100644 index 3c01a35..0000000 --- a/app/views/issue_trackers/github_issues_body.txt.erb +++ /dev/null @@ -1,45 +0,0 @@ -[See this exception on Errbit](<%= 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'] %>](<%= 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 %> -``` - -## Environment ## - - -<% for key, val in notice.env_vars %> - - - - -<% end %> -
<%= key %>:<%= val %>
-<% end %> - diff --git a/app/views/issue_trackers/gitlab_body.txt.erb b/app/views/issue_trackers/gitlab_body.txt.erb deleted file mode 100644 index 61d7a4b..0000000 --- a/app/views/issue_trackers/gitlab_body.txt.erb +++ /dev/null @@ -1,29 +0,0 @@ -<% if notice = problem.notices.first %> -## 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 %> -``` - -## Environment ## - - -<% for key, val in notice.env_vars %> - - - - -<% end %> -
<%= key %>:<%= val %>
-<% end %> - diff --git a/app/views/issue_trackers/gitlab_summary.txt.erb b/app/views/issue_trackers/gitlab_summary.txt.erb deleted file mode 100644 index 8e7c6f0..0000000 --- a/app/views/issue_trackers/gitlab_summary.txt.erb +++ /dev/null @@ -1,17 +0,0 @@ -[See this exception on Errbit](<%= 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'] %>](<%= notice.request['url'] %>)" -<% end %> -### Where ### -<%= notice.where %> - -### Occured ### -<%= notice.created_at.to_s(:micro) %> - -### Similar ### -<%= (notice.problem.notices_count - 1).to_s %> -<% end %> \ No newline at end of file diff --git a/app/views/issue_trackers/jira_body.txt.erb b/app/views/issue_trackers/jira_body.txt.erb deleted file mode 100644 index 8974f93..0000000 --- a/app/views/issue_trackers/jira_body.txt.erb +++ /dev/null @@ -1,17 +0,0 @@ -<% if notice = problem.notices.first %> -h2. Summary -<% if notice.request['url'].present? %> -h3. URL - -"<%= notice.request['url'] %>":<%= notice.request['url'] %> -<% end %> -h3. Where - -<%= notice.where %> - -h3. When - -<%= notice.created_at.to_s(:micro) %> - -"More Details on Errbit":<%= app_problem_url problem.app, problem %> -<% end %> \ No newline at end of file diff --git a/app/views/issue_trackers/lighthouseapp_body.txt.erb b/app/views/issue_trackers/lighthouseapp_body.txt.erb deleted file mode 100644 index 614bdcd..0000000 --- a/app/views/issue_trackers/lighthouseapp_body.txt.erb +++ /dev/null @@ -1,35 +0,0 @@ -[See this exception on Errbit](<%= 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'] %>](<%= 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 %> - - - ## Environment ## - <% for key, val in notice.env_vars %> - <%= key %>: <%= val %> - <% end %> -<% end %> - diff --git a/app/views/issue_trackers/pivotal_body.txt.erb b/app/views/issue_trackers/pivotal_body.txt.erb deleted file mode 100644 index 7c2b80a..0000000 --- a/app/views/issue_trackers/pivotal_body.txt.erb +++ /dev/null @@ -1,17 +0,0 @@ -See this exception on Errbit: <%= app_problem_url problem.app, problem %> -<% if notice = problem.notices.first %> - <% if notice.request['url'].present? %>URL: <%= notice.request['url'] %><% end %> - Where: <%= notice.where %> - Occurred: <%= 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[0..4].map { |line| "#{line.number}: #{line.file_relative} -> *#{line.method}*" }.join "\n" %> -<% end %> - diff --git a/app/views/issue_trackers/redmine_body.txt.erb b/app/views/issue_trackers/redmine_body.txt.erb deleted file mode 100644 index 8974f93..0000000 --- a/app/views/issue_trackers/redmine_body.txt.erb +++ /dev/null @@ -1,17 +0,0 @@ -<% if notice = problem.notices.first %> -h2. Summary -<% if notice.request['url'].present? %> -h3. URL - -"<%= notice.request['url'] %>":<%= notice.request['url'] %> -<% end %> -h3. Where - -<%= notice.where %> - -h3. When - -<%= notice.created_at.to_s(:micro) %> - -"More Details on Errbit":<%= app_problem_url problem.app, problem %> -<% end %> \ No newline at end of file diff --git a/app/views/issue_trackers/textile_body.txt.erb b/app/views/issue_trackers/textile_body.txt.erb deleted file mode 100644 index 3b511fd..0000000 --- a/app/views/issue_trackers/textile_body.txt.erb +++ /dev/null @@ -1,44 +0,0 @@ -<% if notice = problem.notices.first %> -h1. <%= notice.message %> - -h3. "See this exception on Errbit":<%= app_problem_url problem.app, problem %> - -h2. Summary -<% if notice.request['url'].present? %> -h3. URL - -"<%= notice.request['url'] %>":<%= notice.request['url'] %> -<% end %> -h3. Where - -<%= notice.where %> - -h3. Occurred - -<%= notice.created_at.to_s(:micro) %> - -h3. Similar - -<%= (notice.problem.notices_count - 1).to_s %> - -h2. Params - -
<%= pretty_hash(notice.params) %>
- -h2. Session - -
<%= pretty_hash(notice.session) %>
- -h2. Backtrace - -| Line | File | Method | -<% notice.backtrace_lines.each do |line| %>| <%= line.number %> | <%= line.file_relative %> | *<%= line.method %>* | -<% end %> - -h2. Environment - -<% for key, val in notice.env_vars %>| <%= key %> | <%= val %> | -<% end %> - -<% end %> - -- libgit2 0.21.2