Add more info than raise exceptions

This commit is contained in:
Vladimir Sharshov 2011-10-28 02:42:56 +04:00
parent 73f7535192
commit 5d5a333377
1 changed files with 1 additions and 1 deletions

View File

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