diff --git a/app/views/solid_errors/error_mailer/error_occurred.html.erb b/app/views/solid_errors/error_mailer/error_occurred.html.erb
index 8e63065..43b5261 100644
--- a/app/views/solid_errors/error_mailer/error_occurred.html.erb
+++ b/app/views/solid_errors/error_mailer/error_occurred.html.erb
@@ -2,16 +2,168 @@
Solid Errors | <%= @error.severity_emoji %> <%= @error.exception_class %>
<%= render "layouts/solid_errors/style" %>
+
- <%= render "solid_errors/errors/error",
- error: @error,
- show_actions: false %>
+ <% occurrence_url = public_send(SolidErrors.url_helper_name).error_url(@error, **SolidErrors.url_options.merge(anchor: "occurrence_#{@occurrence.id}")) %>
-
-
+
- <%= render "solid_errors/occurrences/occurrence",
- occurrence: @occurrence %>
+ <%= @error.message %>
+
+
+
+ | Severity |
+ <%= @error.severity_emoji %> <%= @error.severity %> |
+
+
+ | Status |
+ <%= @error.status_emoji %> <%= @error.status %> |
+
+
+ | Occurred at |
+ <%= @occurrence.created_at.strftime("%Y-%m-%d %H:%M:%S %Z") %> |
+
+
+
+ <% if @occurrence.context&.any? %>
+ Context
+
+
+
+ | Key |
+ Value |
+
+
+
+ <% @occurrence.context.each do |key, value| %>
+
+ | <%= key %> |
+ <%= value %> |
+
+ <% end %>
+
+
+ <% end %>
+
+ Backtrace
+
+ <% @occurrence.parsed_backtrace.lines.each_with_index do |line, i| %>
+
+ <% if line.filtered_file %>
+<%= File.dirname(line.filtered_file) %>/<%= File.basename(line.filtered_file) %>:<%= line.filtered_number %> in <%= line.filtered_method %>
+ <% else %>
+<%= line.unparsed_line %>
+ <% end %>
+
+ <% end %>
+