Show xml-rpc error code in error message

This commit is contained in:
Vladimir Sharshov 2012-02-06 19:07:08 +04:00
parent c367fc818b
commit 4e3d6b4056
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ class Repository < ActiveRecord::Base
if result == BuildServer::SUCCESS
return true
else
raise "Failed to delete repository #{name} inside platform #{platform.name}."
raise "Failed to delete repository #{name} inside platform #{platform.name} with code #{result}."
end
end