Skip to content

Commit 2327083

Browse files
Andrea Campidefunkt
authored andcommitted
Pass /notice/server-environment/project-root.
According to Hoptoad API documentation this is optional, but some third-party software using the same API is more strict and errors out if we don't provide it (Redmine, I'm looking at you).
1 parent c9abf3c commit 2327083

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/resque/failure/hoptoad.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ def xml
109109
end
110110
x.tag!("server-environment") do
111111
x.tag!("environment-name",server_environment)
112+
x.tag!("project-root", "RAILS_ROOT")
112113
end
113114

114115
end

0 commit comments

Comments
 (0)