diff --git a/app/views/mailer/err_notification.html.haml b/app/views/mailer/err_notification.html.haml index 6ef7025..074ad22 100644 --- a/app/views/mailer/err_notification.html.haml +++ b/app/views/mailer/err_notification.html.haml @@ -37,6 +37,12 @@ %p.monospace = @notice.app_version %br + %br + - if @notice.server_environment.present? && @notice.server_environment["hostname"].present? + %p.heading APP SERVER: + %p.monospace + = @notice.server_environment["hostname"] + %br %p.heading URL: %p.monospace - if @notice.request['url'].present? diff --git a/app/views/mailer/err_notification.text.erb b/app/views/mailer/err_notification.text.erb index 7d69ac3..90aae85 100644 --- a/app/views/mailer/err_notification.text.erb +++ b/app/views/mailer/err_notification.text.erb @@ -24,6 +24,12 @@ APP VERSION: <%= @notice.app_version %> <%- end %> +<%- if @notice.server_environment.present? && @notice.server_environment["hostname"].present? %> +APP SERVER: + +<%= @notice.server_environment["hostname"] %> +<%- end %> + URL: <%= @notice.request['url'] %> -- libgit2 0.21.2