lib/notice.erb in toadhopper-1.0.4 vs lib/notice.erb in toadhopper-1.0.6
- old
+ new
@@ -4,10 +4,14 @@
<notifier>
<name><%=h notifier_name %></name>
<version><%=h notifier_version %></version>
<url><%=h notifier_url %></url>
</notifier>
+ <server-environment>
+ <project-root><%=h project_root %></project-root>
+ <environment-name><%=h framework_env %></environment-name>
+ </server-environment>
<error>
<class><%=h error.class.name %></class>
<message><%=h "#{error.class.name}: #{error.message}" %></message>
<backtrace>
<%- backtrace.each do |line| -%>
@@ -41,10 +45,6 @@
<var key="<%=h key %>"><%=h value %></var>
<%- end -%>
</cgi-data>
<%- end -%>
</request>
- <server-environment>
- <project-root><%=h project_root %></project-root>
- <environment-name><%=h framework_env %></environment-name>
- </server-environment>
</notice>