Show xml-rpc error code in error message
This commit is contained in:
parent
c367fc818b
commit
4e3d6b4056
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue