forked from rails/exception_notification
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
lib/exception_notifier/views/exception_notifier/_backtrace.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<%= @backtrace.join "\n" %> | ||
<%=raw @backtrace.join "\n" %> |
6 changes: 3 additions & 3 deletions
6
lib/exception_notifier/views/exception_notifier/_environment.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<% filtered_env = @request.filtered_env -%> | ||
<% max = filtered_env.keys.max { |a, b| a.length <=> b.length } -%> | ||
<% filtered_env.keys.sort.each do |key| -%> | ||
* <%= "%-*s: %s" % [max.length, key, filtered_env[key].to_s.strip] %> | ||
* <%=raw "%-*s: %s" % [max.length, key, filtered_env[key].to_s.strip] %> | ||
<% end -%> | ||
|
||
* Process: <%= $$ %> | ||
* Server : <%= `hostname -s`.chomp %> | ||
* Process: <%=raw $$ %> | ||
* Server : <%=raw `hostname -s`.chomp %> |
8 changes: 4 additions & 4 deletions
8
lib/exception_notifier/views/exception_notifier/_request.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
* URL : <%= @request.url %> | ||
* IP address: <%= @request.remote_ip %> | ||
* Parameters: <%= @request.fitered_params.inspect %> | ||
* Rails root: <%= Rails.root %> | ||
* URL : <%=raw @request.url %> | ||
* IP address: <%=raw @request.remote_ip %> | ||
* Parameters: <%=raw @request.fitered_params.inspect %> | ||
* Rails root: <%=raw Rails.root %> |
4 changes: 2 additions & 2 deletions
4
lib/exception_notifier/views/exception_notifier/_session.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
* session id: <%= @request.session['session_id'].inspect %> | ||
* data: <%= PP.pp @request.session.inspect.gsub(/\n/, "\n ").strip %> | ||
* session id: <%=raw @request.session['session_id'].inspect.html_safe %> | ||
* data: <%=raw PP.pp @request.session.inspect.gsub(/\n/, "\n ").strip.html_safe %> |
2 changes: 1 addition & 1 deletion
2
lib/exception_notifier/views/exception_notifier/_title.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
------------------------------- | ||
<%= title.to_s.humanize %>: | ||
<%=raw title.to_s.humanize %>: | ||
------------------------------- |
6 changes: 3 additions & 3 deletions
6
lib/exception_notifier/views/exception_notifier/exception_notification.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters